teraßyte Posted March 8 Posted March 8 Trying to use the Code button in the editor on this site throws a JS error in the browser's console: Quote VM493:2390 Uncaught SyntaxError: Unexpected token 'if' at m (root_library.js.gz?v=d815db93211709847832:2:880) at Function.globalEval (root_library.js.gz?v=d815db93211709847832:2:3031) at text script (root_library.js.gz?v=d815db93211709847832:2:80933) at root_library.js.gz?v=d815db93211709847832:2:77288 at l (root_library.js.gz?v=d815db93211709847832:2:77405) at XMLHttpRequest.<anonymous> (root_library.js.gz?v=d815db93211709847832:2:80204) Stuart Silvester, SeNioR- and Afrodude 3
teraßyte Posted March 8 Author Posted March 8 Because of the error the code button popup keeps loading indefinitely and you can't insert any code in the editor.
Eleeist Posted March 8 Posted March 8 Same thing happens for me in ACP when editing templates etc. The codemirror.js is missing semicolons in few places, had to patch it up to edit my theme. SeNioR- 1
Marc Posted March 8 Posted March 8 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
Stuart Silvester Posted March 8 Posted March 8 We released Beta 5 a short time ago to address this issue. teraßyte, Marc and Eleeist 1 2
SeNioR- Posted March 12 Posted March 12 This issue has been resolved in the recently released 4.7.16 version. Please update your site if you are still experiencing the issue, and let us know if you see any reoccurrence.
Recommended Posts