|
|
@ -121,9 +121,8 @@ var dialog = {
|
|
|
|
create:function(conf) {
|
|
|
|
create:function(conf) {
|
|
|
|
let last = {
|
|
|
|
let last = {
|
|
|
|
dlg: $("div.modal.show").last()[0],
|
|
|
|
dlg: $("div.modal.show").last()[0],
|
|
|
|
exists: () => last.dlg,
|
|
|
|
|
|
|
|
setZIndex: (obj, offset) => {
|
|
|
|
setZIndex: (obj, offset) => {
|
|
|
|
if (!last.exists()) return;
|
|
|
|
if (!last.dlg) return;
|
|
|
|
|
|
|
|
|
|
|
|
let zIndex = Number($(last.dlg).css("z-index"));
|
|
|
|
let zIndex = Number($(last.dlg).css("z-index"));
|
|
|
|
obj.css("z-index", zIndex + offset);
|
|
|
|
obj.css("z-index", zIndex + offset);
|
|
|
|