From 9dcad94d83f8bfdf1a907c35a4d69b3b33e40347 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Thu, 5 Jan 2012 10:43:51 +0100 Subject: [PATCH] [fix] reverted possibility to logout without reloading the web client bzr revid: nicolas.vanhoren@openerp.com-20120105094351-ba6dthego0oourhq --- addons/web/static/src/js/chrome.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);