diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-09-23 15:59:37 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-10-01 01:36:49 +0200 |
| commit | f01c4e84b0d5ccce05916d6bab2e6c3b01740266 (patch) | |
| tree | dae60846e7096760c2b3820c9322148aec45060f /addons | |
| parent | 88b63a9b1957076bc05ce93270099b11e15cc851 (diff) | |
[FIX] website_event: unnecessary POST call
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_event/static/src/js/website_geolocation.js | 4 |
1 files changed, 2 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 54a67499cdb..43fb2209aef 100644 --- a/addons/website_event/static/src/js/website_geolocation.js +++ b/addons/website_event/static/src/js/website_geolocation.js @@ -6,7 +6,7 @@ var animation = require('web_editor.snippets.animation'); animation.registry.visitor = animation.Class.extend({ selector: ".oe_country_events", start: function () { - $.post( "/event/get_country_event_list", function( data ) { + $.get("/event/get_country_event_list").then(function( data ) { if(data){ $( ".country_events_list" ).replaceWith( data ); } @@ -14,4 +14,4 @@ animation.registry.visitor = animation.Class.extend({ } }); -});
\ No newline at end of file +}); |
