[FIX] pad: hide navbar when passing in fullscreen mode
authorChristophe Simonis <chs@odoo.com>
Fri, 31 Oct 2014 16:38:11 +0000 (17:38 +0100)
committerChristophe Simonis <chs@odoo.com>
Fri, 31 Oct 2014 16:38:11 +0000 (17:38 +0100)
addons/pad/static/src/js/pad.js

index cf6768e..a6f2ce6 100644 (file)
@@ -21,6 +21,7 @@ openerp.pad = function(instance) {
                 self.$el.toggleClass('oe_pad_fullscreen');
                 self.$el.find('.oe_pad_switch').toggleClass('fa-expand fa-compress');
                 self.view.$el.find('.oe_chatter').toggle();
+                $('#oe_main_menu_navbar').toggle();
             });
             this._configured_deferred.always(function() {
                 var configured = self.get('configured');