yesdev Posted March 21, 2016 Share Posted March 21, 2016 (edited) I'm almost finished designing a new module for editing Prestashop & have hit a hurdle. The Helper form class expressly states: $this->context->controller->addJS(_PS_JS_DIR_.'tiny_mce/tiny_mce.js'); $this->context->controller->addJS(_PS_JS_DIR_.'admin/tinymce.inc.js'); Now I don't need TinyMCE to run anymore (got something better planned in it's place) but.. The override I've written refuses to remove these two items, even when using $this->context->controller->removeJS.Anyone have a solution? -- Solved it again myself. Created an override for the AdminController class that removed TinyMCE. Edited March 22, 2016 by yesdev (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now