|
|
|
@ -107,7 +107,7 @@ var dialog = {
|
|
|
|
|
else {
|
|
|
|
|
var self = this;
|
|
|
|
|
ajax.get({
|
|
|
|
|
url:wctx.url("/resources/html/dialog.html"),
|
|
|
|
|
url:wctx.url("/webjars/html/dialog.html"),
|
|
|
|
|
success:function(resp) {
|
|
|
|
|
self.template = resp;
|
|
|
|
|
self.create(conf);
|
|
|
|
@ -171,7 +171,7 @@ var dialog = {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
last.setZIndex(dlg, 10);
|
|
|
|
|
dlg.modal("show");
|
|
|
|
|
dlg.draggable({handle: ".modal-header"}).modal("show");
|
|
|
|
|
$(".modal-backdrop").each(function() { // gives id to its backdrop
|
|
|
|
|
let backdrop = $(this);
|
|
|
|
|
if (!backdrop.prop("id"))
|
|
|
|
|