-
- Downloads
[FIX] web_editor: make html widget translatable
The translate feature of widgets html and html_frame had been broken by the new views refactoring. This commit restores it for the html widget, and removes it completely for html_frame as it wasn't working correctly before the new views anyway (moreover, it had already been disabled for mass_mailing: de403dc1). This commit also ensures that the changes are correctly saved for the html_frame widget. Note that this widget still needs to be converted to our new coding guidelines.
Showing
- addons/web/static/src/js/fields/basic_fields.js 1 addition, 0 deletionsaddons/web/static/src/js/fields/basic_fields.js
- addons/web_editor/static/src/js/backend.js 46 additions, 61 deletionsaddons/web_editor/static/src/js/backend.js
- addons/web_editor/static/src/xml/backend.xml 1 addition, 28 deletionsaddons/web_editor/static/src/xml/backend.xml
- addons/web_editor/static/tests/web_editor_tests.js 40 additions, 0 deletionsaddons/web_editor/static/tests/web_editor_tests.js
Loading
Please register or sign in to comment