From 9de2b2da4928129ab1bf3b40f06ed932f4cf21fb Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 4 Jun 2024 18:10:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/include/tail.jsp | 1 + src/main/webapp/WEB-INF/jsp/login.jsp | 4 ++-- src/main/webapp/resources/js/base/base.js | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/include/tail.jsp b/src/main/webapp/WEB-INF/jsp/include/tail.jsp index 192da61d..2b152661 100644 --- a/src/main/webapp/WEB-INF/jsp/include/tail.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/tail.jsp @@ -8,6 +8,7 @@ + diff --git a/src/main/webapp/WEB-INF/jsp/login.jsp b/src/main/webapp/WEB-INF/jsp/login.jsp index 4b82f765..213dca84 100644 --- a/src/main/webapp/WEB-INF/jsp/login.jsp +++ b/src/main/webapp/WEB-INF/jsp/login.jsp @@ -29,8 +29,8 @@ " /> - " /> - " /> + " /> + " /> diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js index 9f0812ce..b617276a 100644 --- a/src/main/webapp/resources/js/base/base.js +++ b/src/main/webapp/resources/js/base/base.js @@ -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); @@ -169,9 +169,9 @@ var dialog = { if (conf.timeout) setTimeout(function(){dialog.close(id);}, conf.timeout); } - + 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"))