Live Chat
True
FAQs
Development

Syntax error in custom javascript breaks all javascript functionality

I  am using Odoo 14 (Enterprise Edition). I have been customizing my website's javascript through the JS Editor in the Customize tab in the Website App. The last time I updated the custom js file, I left in a syntax error. This of course cancels all the javascript in the file, but it also seems to break all other js functionality, which means I can no longer access the JS Editor to fix the syntax error. Is there another way to edit the js file? If not, what can I do?


If you go to Settings and activate Developer mode (with assets) it seems to block the custom javascript but not the native one, allowing you to open the custom javascript editor and fix the error.



Was this article helpful?

FAQ HOME

To install this Web App in your iPhone/iPad press and then Add to Home Screen.