[Vtigercrm-commits] [vtiger-commits] r10634 - /vtigercrm/branches/5.0.3/include/js/customview.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 11 08:15:05 EDT 2007


Author: saraj
Date: Wed Apr 11 06:15:00 2007
New Revision: 10634

Log:
fix for while creating the new custom field, the label field is not validated properly. Fixes #3559 --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 Wed Apr 11 06:15:00 2007
@@ -49,7 +49,7 @@
         decimalLayer=getObj("decimaldetails")
         pickListLayer=getObj("picklist")
         var str = getObj("fldLabel").value;
-        if (!emptyCheck("fldLabel","Label"))
+        if (!emptyCheck("fldLabel","Label","text"))
                 return false
 
         var re1=/^[a-z\d\_ ]+$/i





More information about the vtigercrm-commits mailing list