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