Commit 05b72669 authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: fixup editor: disable maximize on html_viewer

parent 05ad9ae0
......@@ -70,6 +70,7 @@
((state_dict.editor === 'fck_editor') ||
(state_dict.content_type === 'text/html'))) {
state_dict.editor = 'html_viewer';
state_dict.maximize = undefined;
}
return this.changeState(state_dict);
})
......
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