From f919af96e5e083ad462a5e71c00ff148ebdb91c6 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 20 1월 2022 15:23:28 +0900
Subject: [PATCH] - 오토 컴플릿 항목 선택하면 목록 사라지게 수정 - 업체 메일 발송 시 템플릿 선택 문구 변경 - 연락처 입력 폼 정규식 제거하고 숫자만 입력 가능하게 수정 - 모든 사용자 필드(날짜) 24시간 타입으로 변경

---
 src/main/webapp/custom_components/summernote/summernote.js |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/custom_components/summernote/summernote.js b/src/main/webapp/custom_components/summernote/summernote.js
index d2b5ef9..5e5873c 100644
--- a/src/main/webapp/custom_components/summernote/summernote.js
+++ b/src/main/webapp/custom_components/summernote/summernote.js
@@ -2020,7 +2020,7 @@
 
         hideDialog: function ($dialog) {
             $dialog.modal('hide');
-            $("body").addClass("modal-open");
+            $('.modal:visible').length && $(document.body).addClass('modal-open');
         },
 
         createLayout: function ($note, options) {
@@ -7293,9 +7293,20 @@
 
 }));
 
+var count = 0; // 紐⑤떖�씠 �뿴由� �븣 留덈떎 count �빐�꽌  z-index媛믪쓣 �넂�뿬以�
+$(document).on('show.bs.modal', '.modal', function () {
+
+    var zIndex = 1040 + (10 * count);
+    $(this).css('z-index', zIndex);
+    setTimeout(function() {
+        $('.modal-backdrop').not('.modal-stack').css('z-index', zIndex - 1).addClass('modal-stack');
+    }, 0);
+    count = count + 1
+});
+
 function closeOwlModal() {
     $('.owl_close_modal').modal('hide');
-    $('body').addClass('modal-open');
+    $('.modal:visible').length && $(document.body).addClass('modal-open');
 }
 
 //  �겕濡� 釉뚮씪�슦�� �븳湲� �삤瑜� �뙣移�

--
Gitblit v1.8.0