[FIX] implement going back to the login page by just reloading the whole bloody thing

bzr revid: xmo@openerp.com-20110801150231-wr8h550mr7ixx0ue
This commit is contained in:
Xavier Morel
2011-08-01 17:02:31 +02:00
parent 7c1ecda162
commit e1b3207935
+1 -2
View File
@@ -708,8 +708,7 @@ openerp.base.Database = openerp.base.Controller.extend({
this.$element.find('#db-restore').click(this.do_db_restore);
this.$element.find('#db-change-password').click(this.do_change_password);
this.$element.find('#back-to-login').click(function() {
self.header = new openerp.base.Header(self, "oe_header");
self.header.on_logout();
window.location.reload();
});
},
/**