fix: [compatibility] reverted IE11 breaking change in misp.js, fixes #3939

pull/3941/head
iglocska 2018-12-12 17:53:10 +01:00
parent fe3bf1f57a
commit a2f073e6d1
1 changed files with 4 additions and 1 deletions

View File

@ -298,7 +298,10 @@ function acceptObject(type, id, event) {
});
}
function toggleCorrelation(id, skip_reload = false) {
function toggleCorrelation(id, skip_reload) {
if (typeof skip_reload === "undefined") {
skip_reload = false;
}
$.ajax({
beforeSend: function (XMLHttpRequest) {
$(".loading").show();