van der Essen Frédéric (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-fullscreen-fva into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-fullscreen-fva/+merge/115096

A very small change needed for the point_of_sale : In fullscreen mode (which is 
only used by the PoS AFAIK) the 
vertical scrollbar is removed. 
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-fullscreen-fva/+merge/115096
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-fullscreen-fva.
=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2012-07-13 22:25:28 +0000
+++ addons/web/static/src/js/chrome.js	2012-07-16 10:16:14 +0000
@@ -1056,10 +1056,13 @@
         }
     },
     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'});
+        }
     }
 });
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to