Uncaught ReferenceErrors: jQuery is not defined, $ is not defined
When a Bootstrap Element is added in Moodle 3.2, the modal menu for the icon picker does not display from the Icon field. DevTools Console shows:
Uncaught ReferenceError: jQuery is not defined at fontawesome-iconpicker.min.js:1
and
Uncaught ReferenceError: $ is not defined at modedit.php?add=bootstrapelements&type=&course=46225§ion=1&return=0&sr=0:297
Comments (6)
-
-
My understanding is that at least one of the plugin developers has left BCU and further development has stalled. We have been testing a fork of the plugin on our development servers. It seems to run well on 3.x versions of Moodle. You can find it here: https://github.com/sudile/moodle-mod_bootstrapelements.
I would recommend testing it in your own test environment to make sure, but it appears to be working well for us.
-
Thanks Troy. We have also forked the original so I will check out your changes and try applying them to ours.
-
These aren't my alterations, they were made by a third party. I would be interested in where you get with it as well, however. We do have our developers looking into it, but they have a lot on the plate atm. Good luck.
-
The same issue exists in your forked version :(
-
I fixed our issue by updating to the latest JS:
- Log in to comment
We are having this issue too