diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-02-12 15:12:24 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-02-26 17:09:23 +0000 |
| commit | a80775ce3c7d098cf4b9524a1a38607d50d63d2c (patch) | |
| tree | dce6fc9ee94e230ffd890f8919b90962794d9938 /addons/website/static/src/js/content/website_root.js | |
| parent | d946b7a85d2c1bbc20ace8e2b269be56a63876fd (diff) | |
[REF] website, *: stop using 'animation' confusing name
* web, website_blog, website_sale, website_twitter
Before this PR, all website widgets were named 'Animation'. Now that
they are 'Public Widgets', we can at last stop using the confusing
'animation' name.
Part of https://github.com/odoo/odoo/pull/29442
task-1932066
Diffstat (limited to 'addons/website/static/src/js/content/website_root.js')
| -rw-r--r-- | addons/website/static/src/js/content/website_root.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/js/content/website_root.js b/addons/website/static/src/js/content/website_root.js index fee9488583e..e1a7be21487 100644 --- a/addons/website/static/src/js/content/website_root.js +++ b/addons/website/static/src/js/content/website_root.js @@ -19,7 +19,7 @@ var WebsiteRoot = publicRootData.PublicRoot.extend({ 'shown.bs.modal': '_onModalShown', }), custom_events: _.extend({}, publicRootData.PublicRoot.prototype.custom_events || {}, { - 'ready_to_clean_for_save': '_onAnimationStopDemand', + 'ready_to_clean_for_save': '_onWidgetsStopRequest', }), /** @@ -90,7 +90,7 @@ var WebsiteRoot = publicRootData.PublicRoot.extend({ /** * @override */ - _onAnimationStartDemand: function (ev) { + _onWidgetsStartRequest: function (ev) { ev.data.options = _.clone(ev.data.options || {}); ev.data.options.editableMode = ev.data.editableMode; this._super.apply(this, arguments); |
