diff options
| author | Christophe Matthieu <chm@odoo.com> | 2019-01-22 17:35:23 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-01-22 17:55:00 +0000 |
| commit | cb7589aaa5902c56ae5cbb9cee7b81b6b21bacb7 (patch) | |
| tree | 843b32fb277ad8750b8f24990eca9f44b7f69f71 /addons/website_mail_channel | |
| parent | 6521cf4f662a62912b54f52a1236935634913053 (diff) | |
[REF] website, *: rename and simplify web_editor.context
* website_forum, website_gengo, website_mail_channel, website_sale
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775,
the web_editor.context module was moved to website without being
renamed. This commit renames it to website.context but also merge the
website extension that was made to that context directly within its
definition.
closes odoo/odoo#30409
Diffstat (limited to 'addons/website_mail_channel')
| -rw-r--r-- | addons/website_mail_channel/static/src/js/website_mail_channel.editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js b/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js index a0d7b282ad7..dfa25fe06e8 100644 --- a/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js +++ b/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js @@ -3,7 +3,7 @@ odoo.define('website_mail_channel.editor', function (require) { var core = require('web.core'); var rpc = require('web.rpc'); -var weContext = require('web_editor.context'); +var wContext = require('website.context'); var options = require('web_editor.snippets.options'); var wUtils = require('website.utils'); @@ -21,7 +21,7 @@ options.registry.subscribe = options.Class.extend({ model: 'mail.channel', method: 'name_search', args: ['', [['public','=','public']]], - context: weContext.get(), // TODO use this._rpc + context: wContext.get(), // TODO use this._rpc }); }, }).then(function (mail_channel_id) { |
