Commit cb74b450 authored by Nicolas Wavrant's avatar Nicolas Wavrant Committed by Georgios Dagkakis

erp5_xhtml_style: reconfigure fckeditor on editable state change too

parent 5176fff1
...@@ -179,7 +179,8 @@ ...@@ -179,7 +179,8 @@
modification_dict.hasOwnProperty('configuration_mobile') || modification_dict.hasOwnProperty('configuration_mobile') ||
modification_dict.hasOwnProperty('configuration_readonly') || modification_dict.hasOwnProperty('configuration_readonly') ||
modification_dict.hasOwnProperty('is_responsive') || modification_dict.hasOwnProperty('is_responsive') ||
modification_dict.hasOwnProperty('is_mobile')) { modification_dict.hasOwnProperty('is_mobile') ||
modification_dict.hasOwnProperty('editable')) {
// Expected configuration changed. // Expected configuration changed.
// Recreate ckeditor // Recreate ckeditor
if (gadget.hasOwnProperty('ckeditor')) { if (gadget.hasOwnProperty('ckeditor')) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment