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) {
|
||||
if (window.console)
|
||||
console.log("ajax error");
|
||||
alert(e);
|
||||
if (e.length)
|
||||
alert(e);
|
||||
}
|
||||
});
|
||||
busy = false;
|
||||
|
Loading…
Reference in New Issue
Block a user