mirror of https://github.com/MISP/MISP
fix: Fixed weird error message if an ajax query goes wrong
parent
b4e780e23a
commit
c19e8cf1d2
|
@ -1268,7 +1268,7 @@ function simplePopup(url) {
|
||||||
error:function() {
|
error:function() {
|
||||||
$(".loading").hide();
|
$(".loading").hide();
|
||||||
$("#gray_out").fadeOut();
|
$("#gray_out").fadeOut();
|
||||||
showMessage('fail', 'Could not fetch the given GnuPG key.');
|
showMessage('fail', 'Something went wrong - the queried function returned an exception. Contact your administrator for further details (the exception has been logged).');
|
||||||
},
|
},
|
||||||
url: url,
|
url: url,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue