summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-01-05 10:43:51 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-01-05 10:43:51 +0100
commit9dcad94d83f8bfdf1a907c35a4d69b3b33e40347 (patch)
tree4004a1419bc9c44bbda7f841f3e6739d6e4be6df /addons/web/static/src
parent5602ac13b7c7cb788fc250024d0a7cd8d500b195 (diff)
[fix] reverted possibility to logout without reloading the web client
bzr revid: nicolas.vanhoren@openerp.com-20120105094351-ba6dthego0oourhq
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/chrome.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 285c3661583..f94258e506f 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -1139,7 +1139,9 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
this.header.do_update();
$(window).unbind('hashchange', this.on_hashchange);
this.do_push_state({});
- this.show_login();
+ //would be cool to be able to do this, but I think it will make addons do strange things
+ //this.show_login();
+ window.location.reload();
},
bind_hashchange: function() {
$(window).bind('hashchange', this.on_hashchange);