[imp] minor feature in the web client class to set the content to full screen
bzr revid: nicolas.vanhoren@openerp.com-20120307150500-o8kkxp4ohrtzjq69
This commit is contained in:
parent
a8bf396f22
commit
8c65ef53b9
|
@ -1127,6 +1127,12 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
|
|||
self.menu.on_menu_click(null, action.menu_id);
|
||||
});
|
||||
}
|
||||
},
|
||||
set_content_full_screen: function(fullscreen) {
|
||||
if (fullscreen)
|
||||
this.$element.addClass("oe_content_full_screen");
|
||||
else
|
||||
this.$element.removeClass("oe_content_full_screen");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue