Don't alert with null string
This commit is contained in:
parent
62d63b2f84
commit
b24ade080f
|
@ -139,7 +139,8 @@ function execopkg(arg, pkg)
|
||||||
error: function(_, _, e) {
|
error: function(_, _, e) {
|
||||||
if (window.console)
|
if (window.console)
|
||||||
console.log("ajax error");
|
console.log("ajax error");
|
||||||
alert(e);
|
if (e.length)
|
||||||
|
alert(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
busy = false;
|
busy = false;
|
||||||
|
|
Loading…
Reference in New Issue