Skip to content
Snippets Groups Projects
Commit e134e409 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] point_of_sale: uncrash widget.js

Error during forward port
parent afbbb541
No related branches found
No related tags found
No related merge requests found
......@@ -907,10 +907,11 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
instance.webclient.set_content_full_screen(true);
}else if(self.pos.config.iface_fullscreen && document.body.webkitRequestFullscreen && (
if(self.pos.config.iface_fullscreen && document.body.webkitRequestFullscreen && (
window.screen.availWidth > window.innerWidth ||
window.screen.availHeight > window.innerHeight )){
self.screen_selector.show_popup('fullscreen');
}
self.$('.loader').animate({opacity:0},1500,'swing',function(){self.$('.loader').addClass('oe_hidden');});
self.pos.push_order();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment