this bug was solved 6432, added a way to validate if a mask does not have ,

This commit is contained in:
carlos
2011-03-15 16:50:13 -04:00
committed by Carlos Pacha
parent 2ea7b6c229
commit 76439283b9

3
gulliver/js/form/core/form.js Normal file → Executable file
View File

@@ -468,6 +468,9 @@ function isNumberMask (mask){
maskD = me.mask.split(';');
maskL = (maskD.length >1)?maskD[1]:maskD[0];
if (maskL.search(",")==-1){
return false;
}
maskWithoutC =replaceAll(maskL,",","");
//maskWithoutC =replaceAll(maskWithoutC,".","");
//maskWithoutC =replaceAll(maskWithoutC,"#","");