[FIX] point_of_sale: remove useless console.logs
bzr revid: fva@openerp.com-20131217165641-a30md8f5k8p9fhmh
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user