[Vtigercrm-commits] [vtiger-commits] r10995 - /vtigercrm/branches/5.0.3/include/js/general.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 16:25:50 EDT 2007
Author: richie
Date: Wed May 23 14:25:44 2007
New Revision: 10995
Log:
fix for - When I edit the List Price of selected product with floating value, It saved but alert comes Invalid EditListPrice, Fixes #3824 -sri
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 Wed May 23 14:25:44 2007
@@ -700,7 +700,7 @@
function intValidate(fldName,fldLabel) {
var val=getObj(fldName).value.replace(/^\s+/g, '').replace(/\s+$/g, '')
- if (isNaN(val) || (val.indexOf(".")!=-1 && fldName != 'potential_amount'))
+ if (isNaN(val) || (val.indexOf(".")!=-1 && fldName != 'potential_amount' && fldName != 'list_price'))
{
alert(alert_arr.INVALID+fldLabel)
getObj(fldName).focus()
More information about the vtigercrm-commits
mailing list