caipin vor 5 Jahren
Ursprung
Commit
0c50452550
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 2 0
      global/js/cloud/curingFN.js
  2. 2 2
      global/js/columnShow/columnShow.js

+ 2 - 0
global/js/cloud/curingFN.js

@@ -15,6 +15,7 @@ function refreshCuringPagination(parameter,currentPage){
             if (data.status == 1) {
                 fnStructureCuringUser(data.curingList);
                 fnPage(data.pageData);
+                refreshColumn(columnLength);
             } else {
                 alert(data.msg);
             }
@@ -37,6 +38,7 @@ function refreshCuringPage(compilation,latestCompilation,sortField,sort,wd){
             if (data.status == 1) {
             	fnStructureCuringUser(data.curingList);
                 fnPage(data.pageData);
+                refreshColumn(columnLength);
             } else {
                 alert(data.msg);
             }

+ 2 - 2
global/js/columnShow/columnShow.js

@@ -26,9 +26,9 @@ function refreshColumn(columnLength){
 		var isAccept=localStorage.getItem("curingColumn_"+i);
 		
 		if (isAccept==null||isAccept) {
-			checkBoxList.get(cbi).attr("checked",'true');
+			checkBoxList.eq(cbi).attr("checked",'true');
 		}else{
-			checkBoxList.get(cbi).removeAttr("checked");
+			checkBoxList.eq(cbi).removeAttr("checked");
 		}
 		
 		isColumnShow(isAccept,i);