[FIX] point_of_sale: Number.isNaN is not supported on older but supported browsers
bzr revid: fva@openerp.com-20121002100420-pcvbn7qqxyp62bzw
This commit is contained in:
@@ -712,7 +712,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
|
||||
});
|
||||
this.$('.button.set_weight').click(function(){
|
||||
var kg = Number(self.$('input.weight').val());
|
||||
if(!Number.isNaN(kg)){
|
||||
if(!isNaN(kg)){
|
||||
self.pos.proxy.debug_set_weight(kg);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user