From 7472edcdef853c833d2c33686d22209cce2d52a0 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 5 Feb 2013 15:24:09 +0100 Subject: [PATCH] fixed double poll problem bzr revid: nicolas.vanhoren@openerp.com-20130205142409-haqewgtmjr5j1xy0 --- addons/live_support/static/ext/static/js/livesupport.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/live_support/static/ext/static/js/livesupport.js b/addons/live_support/static/ext/static/js/livesupport.js index a80dc63ac94..3f5238310e5 100644 --- a/addons/live_support/static/ext/static/js/livesupport.js +++ b/addons/live_support/static/ext/static/js/livesupport.js @@ -79,10 +79,8 @@ define(["nova", "jquery", "underscore", "oeclient", "require"], function(nova, $ window.alert("None of our collaborators seems to be available, please try again later."); return; } - self.manager.start_polling().then(function() { - self.manager.ensure_users([user_id]).then(function() { - self.manager.activate_user(self.manager.get_user(user_id)); - }); + self.manager.ensure_users([user_id]).then(function() { + self.manager.activate_user(self.manager.get_user(user_id)); }); }); },