Form Validation on Rich text Areas with TinyMCE

Hi there,

We have an installation of 2.4.6. Form validation works unexpectedly, it doesn’t save any modification to the text I enter in any rich text field which has TinyMCE. If it is mandatory field it complains that no value is provided in the corresponding text area. My feeling is that some js files are missing or acting wrong.
jquery.validate.js, FormHandler.js, AjaxFormHandler.js, are jqueryValidatorI18n.js are listed in the script sources when I use browser debugger.

Also there is an error on the page after I click save:

“Uncaught TypeError: Cannot read property ‘onLoad’ of undefined”

It’s the onload function on the rich text field: onload=“window.parent.tinyMCE.get(‘abstract’).onLoad.dispatch();”

TinyMCE plugin is also enabled.

Please advice.


I managed to solve this issue. There were some problems with my customized header.tpl.