-
Improvement
-
Resolution: Fixed
-
Minor
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE
-
MDL-48943-master -
The current implementation:
- sucks
- creates new instances for each of the events in the view
- which is memory intensive
- and leads to lots of DOM manipulation
- and lots of Overlay models being created
- and a fair few event handles
- and prevents the ability to JS load easily
- and did I mention it sucks a bit?
Have written a new implementation to use appropriate data-attributes instead and to have a single pair of delegated listeners. It allows for background changes to the calendar (e.g. through DOM manipulation to load new months).