-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
-
1.8.2
-
None
-
MOODLE_18_STABLE
To remove errors in the formslib JavaScript I added 3 lines to javascript-static.js. I can't see no problems with those changes. Jamie, might you please check the changes. If hey are ok I will apply them to Moodle 1.8 and 1.9.
Thanks a lot.
Index: javascript-static.js
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/javascript-static.js,v
retrieving revision 1.29.2.3
diff -r1.29.2.3 javascript-static.js
91a92,93
> // change for compatibility with mootools
> if (!dependons.lenght) continue;
120a123,124
> // change for compatibility with mootools
> if(!el.lenght) continue;
130a135,136
> // change for compatibility with mootools
> if (!dependons.lenght) continue;