[IMP] point_of_sale: no scrollbar in fullscreen mode
bzr revid: fva@openerp.com-20120716094637-n2mdh94pb147ggc0
This commit is contained in:
parent
21832994f9
commit
6d9cf3fe2d
|
@ -1056,10 +1056,13 @@ instance.web.WebClient = instance.web.Widget.extend({
|
|||
}
|
||||
},
|
||||
set_content_full_screen: function(fullscreen) {
|
||||
if (fullscreen)
|
||||
if (fullscreen){
|
||||
$(".oe_webclient", this.$element).addClass("oe_content_full_screen");
|
||||
else
|
||||
$("body").css({'overflow-y':'hidden'});
|
||||
}else{
|
||||
$(".oe_webclient", this.$element).removeClass("oe_content_full_screen");
|
||||
$("body").css({'overflow-y':'scroll'});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue