-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Just tried your latest version(0.3.0-pl [beta]) in MODX 2.8.4. It's not working. On launching the Media Manager window, it generates these javascript errors:
imageplus.min.js?v=v2.8.9:6 jQuery.Deferred exception: $(...).select2 is not a function TypeError: $(...).select2 is not a function
at Object.setFilters (/assets/components/mediamanager/js/mgr/mediamanager-files.js:501:39)
at Object.init (/assets/components/mediamanager/js/mgr/mediamanager-files.js:143:18)
at HTMLDocument. (/assets/components/mediamanager/js/mgr/mediamanager-files.js:1773:27)
at e (/assets/components/imageplus/js/mgr/imageplus.min.js?v=v2.8.9:6:50180)
at t (/assets/components/imageplus/js/mgr/imageplus.min.js?v=v2.8.9:6:50504) undefined
imageplus.min.js?v=v2.8.9:6 Uncaught TypeError: $(...).select2 is not a function
at Object.setFilters (mediamanager-files.js:501:39)
at Object.init (mediamanager-files.js:143:18)
at HTMLDocument. (mediamanager-files.js:1773:27)
at e (imageplus.min.js?v=v2.8.9:6:50180)
at t (imageplus.min.js?v=v2.8.9:6:50504)
Also, the Media Manager screen comes up in TinyMCE RTE (2.0.7-pl) just fine, but in ContentBlocks using TinyMCE RTE, the Media Manager screen sits behind the image popup dialog:
I also notice that Jquery is loaded in two places in the manager page header, one nearer the top:
<script src="/assets/components/mediamanager/libs/jquery/1.12.1/js/jquery.min.js"></script> <script src="/assets/components/mediamanager/libs/jquery-ui/1.11.4/js/jquery-ui.min.js"></script>and again further down:
<script src="/assets/components/mediamanager/libs/jquery/1.12.1/js/jquery.min.js?v=284pl"></script> <script src="/assets/components/mediamanager/libs/jquery-ui/1.11.4/js/jquery-ui.min.js?v=284pl"></script>Why are these loaded twice?