General developer forum

Documentation on AMD modals for moodle 3.2

 
Picture of Andrew McGhie
Documentation on AMD modals for moodle 3.2
 

In the documentation for AMD modals in moodle version 3.2 in this section (https://docs.moodle.org/dev/index.php?title=AMD_Modal#How_do_you_write_a_new_type_of_modal.3F). 

The code uses a AMD module called core/modal_registry. When running the code I get no define called for core/modal_registry and I cannot find the javascript file for this module (in version 3.2.5 or 3.2.6 on github). 

However looking at moodle 3.3.3 the javascript file does exist. So I was just wondering if that part of the docs are in the wrong place or something like that

 
Average of ratings: -