caipin il y a 5 ans
Parent
commit
462bcf79eb
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      global/js/columnShow/columnShow.js

+ 4 - 1
global/js/columnShow/columnShow.js

@@ -20,16 +20,19 @@ $(function() {
  * @returns
  */
 function refreshColumn(columnLength){
+	var checkBoxList=$('input[type=checkbox][name=columnShow]');
+	console.log(checkBoxList);
 	for(var i=1;i<=columnLength;i++){
 		var isAccept=localStorage.getItem("curingColumn_"+i);
 		
+		
+		
 		isColumnShow(isAccept,i);
 	}
 }
 
 function isColumnShow(isAccept,column){
 	if (isAccept==null||isAccept) {
-		
 		$('table[columnShow] tr').find('th:eq('+column+')').show();
 		$('table[columnShow] tr').find('td:eq('+column+')').show();
 	} else {