From 1bd73a7589d57baef7d553590bf0a3e4421db7f6 Mon Sep 17 00:00:00 2001 From: rosewiper Date: Thu, 14 Dec 2023 14:30:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=EA=B1=B0=EB=AC=B8=EC=9E=90=2020?= =?UTF-8?q?=EA=B1=B4=20=EB=B0=9C=EC=86=A1=20=EB=A7=88=EC=9A=B0=EC=8A=A4=20?= =?UTF-8?q?=EB=93=9C=EB=9E=98=EA=B7=B8=20=EC=B2=B4=ED=81=AC=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../msgcampain/tw/MsgTWDataCallToListView.jsp | 20 +++++-------------- .../web/msgcampain/tw/MsgTWDataSMLView.jsp | 4 ++++ src/main/webapp/publish/js/publish.js | 13 ++++++++---- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp index 87d3f762..54ed944b 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp @@ -65,9 +65,11 @@
- + +
    + +
+
@@ -77,16 +79,4 @@
- <%--
- -
-
- - - -
-
-

0건 / 중복 0

- -
--%> \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp index 01f79914..1b6a7d6a 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp @@ -284,18 +284,22 @@ function addTWCallToInfo(){ $(document).ready(function () { $(".receipt_number_table_wrap .tbody_ul").selectable({ selecting: function (event, ui) { + console.log("selecting"); $(ui.selecting).find("input[type='checkbox']").attr("checked", "checked"); }, selected: function (event, ui) { if ($(ui.selected).find("input[type='checkbox']").attr("checked") == true) { + console.log("selected remove"); $(ui.selected).find("input[type='checkbox']").removeAttr("checked"); } else { + console.log("selected checed"); $(ui.selected).find("input[type='checkbox']").attr("checked", "checked"); } publishCommon.clickCheckPrice(); }, unselecting: function (event, ui) { + console.log("unselecting"); $(ui.unselecting).find("input[type='checkbox']").removeAttr("checked"); }, unselected: function (event, ui) { diff --git a/src/main/webapp/publish/js/publish.js b/src/main/webapp/publish/js/publish.js index 87d4ab58..f6521624 100644 --- a/src/main/webapp/publish/js/publish.js +++ b/src/main/webapp/publish/js/publish.js @@ -21,7 +21,8 @@ var publishCommon = { else if (cnt >= checkLength) { clearInterval(checkEvent); // 자동체크 끝. } - $(checkTarget[cnt]).prop('checked', true); // 체크박스 체크. + //$(checkTarget[cnt]).prop('checked', true); // 체크박스 체크. + $(checkTarget[cnt]).attr("checked", "checked"); // 체크박스 체크. $($target).on("mouseup",function(){ //마우스떼면 멈춤 clearInterval(checkEvent); @@ -38,7 +39,8 @@ var publishCommon = { var chkSts = $(this).is(":checked"); if(!chkSts){ - $(this).prop("checked","true"); + $(this).attr("checked", "checked"); + //$(this).prop("checked","true"); return false; } @@ -49,6 +51,7 @@ var publishCommon = { var chkCnt = $("input:checkbox[name='chkCallTo']").length; var chkAllSts = $('input:checkbox[name="receipt_number_check"]').is(':checked'); + //var chkAllSts = $('input:checkbox[name="receipt_number_check"]').attr("checked"); if(chkCnt == 0){ @@ -60,9 +63,11 @@ var publishCommon = { $("input:checkbox[name='chkCallTo']").each(function(){ if(chkAllSts){ - $(this).prop("checked",true); + $(this).attr("checked", "checked"); + //$(this).prop("checked",true); }else{ - $(this).prop("checked",false); + $(this).removeAttr("checked"); + //$(this).prop("checked",false); } });