diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-02-05 12:36:15 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-02-05 12:36:15 +0100 |
| commit | 66efbf2b5bf352fd913e30b6db95bdb3c646582f (patch) | |
| tree | 52ea9465115c372ce827ff75032382105e6d01bd /addons/website_event/static/src | |
| parent | 788684a5ddcff074e239b524e043cbf900dc54a9 (diff) | |
| parent | 53ba83579beeb330312d9e4066ae05145dd40caa (diff) | |
[MERGE] forward port branch saas-14 up to 53ba83579be
Diffstat (limited to 'addons/website_event/static/src')
| -rw-r--r-- | addons/website_event/static/src/js/website_geolocation.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/website_event/static/src/js/website_geolocation.js b/addons/website_event/static/src/js/website_geolocation.js index 43fb2209aef..040a436363c 100644 --- a/addons/website_event/static/src/js/website_geolocation.js +++ b/addons/website_event/static/src/js/website_geolocation.js @@ -4,11 +4,12 @@ odoo.define('website_event.geolocation', function (require) { var animation = require('web_editor.snippets.animation'); animation.registry.visitor = animation.Class.extend({ - selector: ".oe_country_events", + selector: ".oe_country_events, .country_events", start: function () { + var self = this; $.get("/event/get_country_event_list").then(function( data ) { if(data){ - $( ".country_events_list" ).replaceWith( data ); + self.$(".country_events_list").replaceWith( data ); } }); } |
