diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2019-03-06 14:02:34 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-03-06 20:07:17 +0100 |
| commit | a8e8184048e56fb3243c15e33d927c2afe25dd97 (patch) | |
| tree | 2a312962cfc1e0e74a4ce36ef258a858cb241afb /addons/website_event/static/src/js/website_geolocation.js | |
| parent | 7a899753c1bad167a4c32debd8a017125163d1ab (diff) | |
[REF] website_event: adapt code after jQuery update
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Christophe Matthieu <chm@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: David Monjoie <dmo@odoo.com>
Co-authored-by: Martin Geubelle <mge@odoo.com>
Co-authored-by: svs-odoo <svs@odoo.com>
Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
Diffstat (limited to 'addons/website_event/static/src/js/website_geolocation.js')
| -rw-r--r-- | addons/website_event/static/src/js/website_geolocation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_event/static/src/js/website_geolocation.js b/addons/website_event/static/src/js/website_geolocation.js index 6de88dd32a2..19ee2f87033 100644 --- a/addons/website_event/static/src/js/website_geolocation.js +++ b/addons/website_event/static/src/js/website_geolocation.js @@ -17,7 +17,7 @@ publicWidget.registry.visitor = publicWidget.Widget.extend({ self.$('.country_events_list').replaceWith(data); } })); - return $.when.apply($, defs); + return Promise.all(defs); }, }); }); |
