From: sam_marshall Date: Wed, 20 Sep 2006 15:04:57 +0000 (+0000) Subject: Update to static JS - 'hitem' hidden fields now optional for lockoptions. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=027d0485741f89b6ebce6be2b61ab3ce7c42cd8e;p=moodle.git Update to static JS - 'hitem' hidden fields now optional for lockoptions. --- diff --git a/lib/javascript-static.js b/lib/javascript-static.js index f49b93bf3e..e63a382356 100644 --- a/lib/javascript-static.js +++ b/lib/javascript-static.js @@ -42,10 +42,10 @@ function checknone() { } function lockoptions(form, master, subitems) { - // subitems is an array of names of sub items - // requires that each item in subitems has a + // Subitems is an array of names of sub items. + // Optionally, each item in subitems may have a // companion hidden item in the form with the - // same name but prefixed by "h" + // same name but prefixed by "h". if (eval("document."+form+"."+master+".checked")) { for (i=0; i