[Vtigercrm-commits] [vtiger-commits] r10899 - /vtigercrm/branches/5.0.3/include/js/general.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 02:04:57 EDT 2007
Author: richie
Date: Mon May 14 00:04:51 2007
New Revision: 10899
Log:
fix for percentage field is not allow me to give 100 as a value in it. Fixes #3722 --minnie
Modified:
vtigercrm/branches/5.0.3/include/js/general.js
Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Mon May 14 00:04:51 2007
@@ -627,6 +627,8 @@
} else {
if (val<0)
invalid=true
+ else if (format[0]==2 && splitval[0]==100 && (!splitval[1] || splitval[1]==0))
+ invalid=false
else if (splitval[0].length>format[0])
invalid=true
}
More information about the vtigercrm-commits
mailing list