[FIX] point_of_sale: remove useless console.logs
authorFrédéric van der Essen <fva@openerp.com>
Tue, 17 Dec 2013 16:56:41 +0000 (17:56 +0100)
committerFrédéric van der Essen <fva@openerp.com>
Tue, 17 Dec 2013 16:56:41 +0000 (17:56 +0100)
bzr revid: fva@openerp.com-20131217165641-a30md8f5k8p9fhmh

addons/point_of_sale/static/src/js/widgets.js

index 72a2a45..673a81b 100644 (file)
@@ -860,7 +860,6 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
         template: 'PosWidget',
         init: function() { 
             this._super(arguments[0],{});
-            console.log('UH');
 
             instance.web.blockUI(); 
 
@@ -882,11 +881,9 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
         disable_rubberbanding: function(){
             // prevent the pos body from being scrollable. 
             document.body.addEventListener('touchmove',function(event){
-                console.log('touchmove_prevent',event);
                 var node = event.target;
                 while(node){
                     if(node.classList && node.classList.contains('touch-scrollable')){
-                        console.log('not prevented');
                         return;
                     }
                     node = node.parentNode;