]> git.datanom.net - qtadmin.git/blobdiff - js/checkbox.js
add more debug info
[qtadmin.git] / js / checkbox.js
index ca9170fd8abeba93b836319d9c5e87c7cb416b20..0bdce8ea512979287a341773c629ac776d79598e 100644 (file)
@@ -16,12 +16,12 @@ function checkAction(action) {
     location.href=url;
 }
 
-function updataAction(chkBtn) {
+function updateAction(chkBtn) {
     var checked = chkBtn.checked;
     var c = document.getElementsByName('action');
     for (var i = 0; i < c.length; i++) {
         if (c[i].type == 'checkbox' && c[i].checked != checked) {
-            c[i].checked == checked;
+            c[i].checked = checked;
         }
     }
 }
This page took 0.028397 seconds and 5 git commands to generate.