diff --git a/src/main/webapp/resources/js/fims/common/defaultUI.js b/src/main/webapp/resources/js/fims/common/defaultUI.js index 218bf901..585cc7cd 100644 --- a/src/main/webapp/resources/js/fims/common/defaultUI.js +++ b/src/main/webapp/resources/js/fims/common/defaultUI.js @@ -19,35 +19,11 @@ $(document).ready(function(){ /*--------------------- 검색영역 상세검색 제어 ---------------------*/ - $( "body" ).on( "click", ".btn-open-detail", function() { + executionArea.find(".btn-open-detail").on("click", function() { $(this).find('i').toggleClass('bx-chevron-down'); $(this).find('i').toggleClass('bx-chevron-up'); }); - /*--------------------- 달력 제어 ---------------------*/ - $(".form-date").datepicker({ - changeMonth: true, - changeYear: true, - showButtonPanel: true - }); - $( "body .form-date" ).next("button.bx-calendar").on("click", function() { - $(this).prev().focus(); - }); - - /*------- 팝업 제어 ---------*/ - /*------- 팝업 열림 -------*/ - $( "body" ).on( "click", "button[data-show-popup]", function(e) { - var popId = $(e.currentTarget).data("show-popup"); - $(".modal-wrap").css("display",'table'); - $(".modal-wrap .cont-box#"+popId).show(); - - }); - /*------- 팝업 닫힘 -------*/ - $( "body" ).on( "click", ".modal-wrap button[data-modal-close]", function() { - $(".modal-wrap, .modal-wrap .cont-box").hide(); - - - }); }); \ No newline at end of file