core Javascript module question

core Javascript module question

by Amy Stewart -
Number of replies: 1

I am looking at the documentation on using AMD Modals for Javascript dialog boxes (https://docs.moodle.org/dev/AMD_Modal).  I am trying to run the example that is present on the page, however, I'm getting a few errors in my console:

Uncaught Error: No define call for core/custom_interaction_events

Uncaught Error: No define call for core/modal


It appears that these two modules aren't loading.  I have cleared the cache through Moodle and through the browser.  What am I missing?  Are these modules part of moodle?


Amy

Average of ratings: -
In reply to Amy Stewart

Re: core Javascript module question

by Amy Stewart -
I see why the modules aren't loading... I'm using 3.1.5+.  I'll ask our admin when we're upgrading to the latest version.