Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8.2
-
Fix Version/s: None
-
Component/s: Forms Library
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
Description
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;