From: samhemelryk Date: Thu, 2 Jul 2009 04:03:04 +0000 (+0000) Subject: user MDL-16706 updated user.js X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8373b720a20247d9432e317a22f2dfbcf7024919;p=moodle.git user MDL-16706 updated user.js --- diff --git a/user/user.js b/user/user.js index 423199ea55..96f37d6887 100644 --- a/user/user.js +++ b/user/user.js @@ -9,11 +9,11 @@ function checksubmit(form) { } function checkchecked(form) { - var inputs = document.getElementsByTagName(\'INPUT\'); + var inputs = document.getElementsByTagName('INPUT'); var checked = false; inputs = filterByParent(inputs, function() {return form;}); for(var i = 0; i < inputs.length; ++i) { - if (inputs[i].type == \'checkbox\' && inputs[i].checked) { + if (inputs[i].type == 'checkbox' && inputs[i].checked) { checked = true; } }