[FIX] hide topbar on login page

bzr revid: chs@openerp.com-20120723162223-amclassz6dzneayq
This commit is contained in:
Christophe Simonis
2012-07-23 18:22:23 +02:00
parent ce7580492b
commit 8df25dc683
+2
View File
@@ -970,10 +970,12 @@ instance.web.WebClient = instance.web.Client.extend({
},
show_login: function() {
var self = this;
self.$('.oe_topbar').hide();
self.login.appendTo(self.$element);
},
show_application: function() {
var self = this;
self.$('.oe_topbar').show();
self.login.$element.hide();
self.menu = new instance.web.Menu(self);
self.menu.replace(this.$element.find('.oe_menu_placeholder'));