diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-01-18 15:22:41 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-01-18 15:26:56 +0000 |
| commit | d65ad44e57ee55e2af159ce370a72ddc7014254b (patch) | |
| tree | 263cdfc5aadd009dd414a5901aca115fc167e078 /addons/website/static/src | |
| parent | 855c6dac25fccaf9312543022001ed0b360d6e13 (diff) | |
[FIX] website: restore customize dialog opening
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775,
the customize theme dialog was not opening anymore.
This was due because, somehow, the editor's merge changed the theme
dialog code for no reason.
closes odoo/odoo#30365
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/widgets/theme.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/website/static/src/js/widgets/theme.js b/addons/website/static/src/js/widgets/theme.js index 2de299b55c0..93206e29949 100644 --- a/addons/website/static/src/js/widgets/theme.js +++ b/addons/website/static/src/js/widgets/theme.js @@ -5,7 +5,6 @@ var config = require('web.config'); var core = require('web.core'); var ColorpickerDialog = require('wysiwyg.widgets.ColorpickerDialog'); var Dialog = require('web.Dialog'); -var weContext = require('web_editor.context'); var widgets = require('wysiwyg.widgets'); var websiteNavbarData = require('website.navbar'); @@ -44,7 +43,7 @@ var ThemeCustomizeDialog = Dialog.extend({ templateDef = this._rpc({ model: 'ir.ui.view', method: 'read_template', - args: ['website.theme_customize', weContext.get()], + args: ['website.theme_customize'], }).then(function (data) { return core.qweb.add_template(data); }); @@ -286,7 +285,6 @@ var ThemeCustomizeDialog = Dialog.extend({ data[1], '#wrapwrap { background-image: url("' + src + '"); }', '//style', - weContext.get(), ], }); }).then(function () { |
