[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:
@@ -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();
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user