diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-09-29 12:47:17 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-30 12:19:46 +0200 |
| commit | c7e837d9625b998ae3e52a84f242c92e16de146e (patch) | |
| tree | 06e23e71c88cf5f32e2e9046afe167f802faab3a /addons/web_editor/static/src/js/backend.js | |
| parent | 8320a9aaf5bfdc3e00cbc9340c7a43e121fab137 (diff) | |
[IMP] mass_mailing, web_editor: propose installation of mass_mailing_themes
When an user starts a new mail template, he is now proposed to upgrade
to enterprise to install mass_mailing_themes.
Diffstat (limited to 'addons/web_editor/static/src/js/backend.js')
| -rw-r--r-- | addons/web_editor/static/src/js/backend.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/backend.js b/addons/web_editor/static/src/js/backend.js index a20da344b03..6d31f75f6ca 100644 --- a/addons/web_editor/static/src/js/backend.js +++ b/addons/web_editor/static/src/js/backend.js @@ -195,6 +195,9 @@ var FieldTextHtml = widget.extend({ self.trigger('changed_value'); self.resize(); }; + window.odoo[this.callback+"_do_action"] = function () { + self.do_action.apply(self, arguments); + }; // init jqery objects this.$iframe = this.$el.find('iframe'); @@ -379,6 +382,7 @@ var FieldTextHtml = widget.extend({ delete window.odoo[this.callback+"_content"]; delete window.odoo[this.callback+"_updown"]; delete window.odoo[this.callback+"_downup"]; + delete window.odoo[this.callback+"_do_action"]; } }); |
