-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.5.1
-
MOODLE_25_STABLE
The course management page when viewed in Firefox (23.0) breaks due to a max recursion error that I tracked down to coming from the JS formautosumbit module.
too much recursion
|
http://localhost/integration/lib/yuilib/3.9.1/build/simpleyui/simpleyui.js
|
Line 11497
|
I've experienced this on a site with 200 course categories, which are all displayed at once on the course/manage.php
Thats 200 autosubmit select boxes associated with moving categories, each with 200 options.
I find that the select boxes at the top work as expected, however the ones at the bottom submit as soon as you click on them and when stepping through the JS I find that the required data attributes are not set.
I don't think this issue should focus on fixing the management page, Marina's tweaked it nicely with MDL-41127 and with MDL-31830 I'll be replacing it completely.
I think this issue should improve the autosubmit module so that it doesn't need to recurse all select boxes during initialisation.
It'd also be ideal if all autosubmits were handled with a single delegation.