X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/38f376fab16f3221df6a20fea5472e28320c8496..0f9549a5088b1a76553e8af3f2ae14afb2a5e3c9:/js/checkbox.js diff --git a/js/checkbox.js b/js/checkbox.js index 9371eee..0bdce8e 100644 --- a/js/checkbox.js +++ b/js/checkbox.js @@ -21,7 +21,7 @@ function updateAction(chkBtn) { 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; } } }