Commit 4f898898 authored by Nicolas Wavrant's avatar Nicolas Wavrant Committed by Georgios Dagkakis

erp5_xhtml_style: in fckeditor check editable on gadget state and not in the list of modifications

parent 00166886
......@@ -187,7 +187,7 @@
gadget.ckeditor.destroy();
}
// Create a new editor
if (!modification_dict.editable) {
if (!gadget.state.editable) {
configuration = gadget.state.configuration_readonly;
} else if (gadget.state.is_responsive && gadget.state.is_mobile) {
configuration = gadget.state.configuration_mobile;
......
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