summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/abstract_web_client.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2016-05-26 10:49:05 +0200
committerGéry Debongnie <ged@odoo.com>2016-05-30 09:22:38 +0200
commit2a8a17024d2b46f3f8837a8672334a7dff3abd1b (patch)
tree47430e551e8bee9b8ef53a2a214bf0c501a2a92b /addons/web/static/src/js/abstract_web_client.js
parent3cc6468d55930163c5d49d3cb4c7bab8231999d9 (diff)
[IMP] web: start session service as soon as possible
Diffstat (limited to 'addons/web/static/src/js/abstract_web_client.js')
-rw-r--r--addons/web/static/src/js/abstract_web_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/abstract_web_client.js b/addons/web/static/src/js/abstract_web_client.js
index ea8db35d962..6436f49dc7c 100644
--- a/addons/web/static/src/js/abstract_web_client.js
+++ b/addons/web/static/src/js/abstract_web_client.js
@@ -49,7 +49,7 @@ var WebClient = Widget.extend({
this.on("change:title_part", this, this._title_changed);
this._title_changed();
- return session.session_bind(this.origin)
+ return session.is_bound
.then(function () {
self.bind_events();
return $.when(