summaryrefslogtreecommitdiff
path: root/addons/web_livechat
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-02-21 17:45:36 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-02-21 17:45:36 +0100
commit2ecdb960d0d6b03fb9c3dcce7798458958a8cf49 (patch)
tree751a1cf548796bc8cafc938c2d4f4fba7bd1fb8b /addons/web_livechat
parentfdf7f935946f85ca53e7a159530d4351aa72735e (diff)
[imp] refactoring of ParentedMixin
bzr revid: nicolas.vanhoren@openerp.com-20120221164536-zajw6gixwu4n4xgh
Diffstat (limited to 'addons/web_livechat')
-rw-r--r--addons/web_livechat/static/src/js/web_livechat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_livechat/static/src/js/web_livechat.js b/addons/web_livechat/static/src/js/web_livechat.js
index 6351ddb2d5c..4ddc93e3e6e 100644
--- a/addons/web_livechat/static/src/js/web_livechat.js
+++ b/addons/web_livechat/static/src/js/web_livechat.js
@@ -89,7 +89,7 @@ openerp.web.Header.include({
this._super();
this.update_promise.then(function() {
if (self.livechat) {
- self.livechat.stop();
+ self.livechat.destroy();
}
self.livechat = new openerp.web_livechat.Livechat(self);
self.livechat.prependTo(self.$element.find('div.header_corner'));