[fix] reverted possibility to logout without reloading the web client

bzr revid: nicolas.vanhoren@openerp.com-20120105094351-ba6dthego0oourhq
This commit is contained in:
niv-openerp
2012-01-05 10:43:51 +01:00
parent 5602ac13b7
commit 9dcad94d83
+3 -1
View File
@@ -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);