diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp index 42972761..08a6af82 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp @@ -57,16 +57,16 @@ - + - - - - - + + + + + - - + + diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp index 279cc86b..05726420 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp @@ -70,16 +70,16 @@ - + - - - - - + + + + + - - + + diff --git a/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js b/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js index 6d80ff10..94ba9742 100644 --- a/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js +++ b/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js @@ -1,13 +1,12 @@ -function searchFromGridTitle(byElement, byOutputElement, byValue, byOutputValue, advancedOptionIndex){ - - if(advancedOptionIndex > 0){ - document.getElementById(byElement).value = "advancedOption" + advancedOptionIndex; - } else { - document.getElementById(byElement).value = snakeToCamel(byValue); - } - - document.getElementById(byOutputElement).value = byOutputValue + " 검색"; +function searchFromGridTitle(byValue, byOutputValue){ + var trDataset = event.target.parentElement.dataset; + + var byElementId = trDataset.by; + var byOutputElementId = trDataset.byOutput; + + document.getElementById(byElementId).value = snakeToCamel(byValue); + document.getElementById(byOutputElementId).value = byOutputValue + " 검색"; }