]> git.mjollnir.org Git - moodle.git/commitdiff
Merged brackets fixes from stable
authormoodler <moodler>
Tue, 15 May 2007 07:50:19 +0000 (07:50 +0000)
committermoodler <moodler>
Tue, 15 May 2007 07:50:19 +0000 (07:50 +0000)
lib/javascript.php

index 00db0ccaa34b4546c198470fd80ced9e475175c9..9526520b5173faa392d2e5c5c2d849e3147f67b0 100644 (file)
@@ -44,15 +44,17 @@ function openpopup(url,name,options,fullscreen) {
 function uncheckall() {
   void(d=document);
   void(el=d.getElementsByTagName('INPUT'));
-  for(i=0;i<el.length;i++)
-    void(el[i].checked=0)
+  for(i=0;i<el.length;i++) {
+    void(el[i].checked=0);
+  }
 }
 
 function checkall() {
   void(d=document);
   void(el=d.getElementsByTagName('INPUT'));
-  for(i=0;i<el.length;i++)
-    void(el[i].checked=1)
+  for(i=0;i<el.length;i++) {
+    void(el[i].checked=1);
+  }
 }
 
 function inserttext(text) {