[Vtigercrm-commits] [vtiger-commits] r10714 - /vtigercrm/branches/5.0.3/include/js/customview.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 18 00:53:30 EDT 2007
Author: richie
Date: Tue Apr 17 22:53:23 2007
New Revision: 10714
Log:
fix for Custom fields type 'number' not work in products. Fixes #3649 --minnie
Modified:
vtigercrm/branches/5.0.3/include/js/customview.js
Modified: vtigercrm/branches/5.0.3/include/js/customview.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/customview.js (original)
+++ vtigercrm/branches/5.0.3/include/js/customview.js Tue Apr 17 22:53:23 2007
@@ -82,7 +82,7 @@
return false
}
var decimallength = document.addtodb.fldDecimal.value;
- if(fieldtype == 'Percent' || fieldtype == 'Currency' || fieldtype == 'Number')
+ if(fieldValueArr[fieldtype] == 'Percent' || fieldValueArr[fieldtype] == 'Currency' || fieldValueArr[fieldtype] == 'Number')
{
if(decimallength == '')
decimallength = 0;
More information about the vtigercrm-commits
mailing list