Fixed static modal for unique window detection
This commit is contained in:
parent
20f8ec1f33
commit
e0ae607f3d
12
res/core.js
12
res/core.js
@ -66,10 +66,7 @@ define([
|
|||||||
clearInterval(intervalId);
|
clearInterval(intervalId);
|
||||||
}
|
}
|
||||||
$(".modal").modal("hide");
|
$(".modal").modal("hide");
|
||||||
$('.modal-non-unique').modal({
|
$('.modal-non-unique').modal("show");
|
||||||
backdrop: "static",
|
|
||||||
keyboard: false
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -876,6 +873,13 @@ define([
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Non unique window dialog
|
||||||
|
$('.modal-non-unique').modal({
|
||||||
|
backdrop: "static",
|
||||||
|
keyboard: false,
|
||||||
|
show: false
|
||||||
|
});
|
||||||
|
|
||||||
// Load images
|
// Load images
|
||||||
_.each(document.querySelectorAll('img'), function(imgElt) {
|
_.each(document.querySelectorAll('img'), function(imgElt) {
|
||||||
var $imgElt = $(imgElt);
|
var $imgElt = $(imgElt);
|
||||||
|
Loading…
Reference in New Issue
Block a user