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); } });