BUG 8908 The currency field doesn't accept decimal point on Grid SOLVED

- This problem exists because is set manually to this type field validate Int
- remove this manual assignment en form.js line 1349
This commit is contained in:
Alvaro Campos
2012-04-04 11:38:06 -04:00
parent cec40efb8a
commit 0fc8c6a1cb

View File

@@ -1346,7 +1346,7 @@ function G_Currency( form, element, name )
var me=this; var me=this;
this.parent = G_Text; this.parent = G_Text;
this.parent( form, element, name); this.parent( form, element, name);
this.validate = 'Int'; //this.validate = 'Int'; //commented for allow enter the character '.'
this.mType = 'currency'; this.mType = 'currency';
this.mask= '_###,###,###,###,###;###,###,###,###,###.00'; this.mask= '_###,###,###,###,###;###,###,###,###,###.00';
this.comma_separator = "."; this.comma_separator = ".";