mirror of https://github.com/MISP/MISP
fix: Fetch PGP key button goes into endless loading if no key was found
parent
702da58e3b
commit
d0b4e8eb90
|
@ -1239,6 +1239,11 @@ function simplePopup(url) {
|
|||
$("#popover_form").html(data);
|
||||
openPopup("#popover_form");
|
||||
},
|
||||
error:function() {
|
||||
$(".loading").hide();
|
||||
$("#gray_out").fadeOut();
|
||||
showMessage('fail', 'Could not fetch the given PGP key.');
|
||||
},
|
||||
url: url,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue