[Vtigercrm-commits] [vtiger-commits] r10879 - in /vtigercrm/branches/5.0.3: include/js/customview.js modules/Settings/CreateCustomField.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat May 12 08:05:51 EDT 2007


Author: richie
Date: Sat May 12 06:05:38 2007
New Revision: 10879

Log:
fix for Issue in Custom Field of type Percent. Fixes #3774 --minnie

Modified:
    vtigercrm/branches/5.0.3/include/js/customview.js
    vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php

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 Sat May 12 06:05:38 2007
@@ -175,11 +175,11 @@
                 lengthLayer.style.visibility="visible"
                 decimalLayer.style.visibility="hidden"
                 pickListLayer.style.visibility="hidden"
-        } else if (type=='date' || type=='email' || type=='phone' || type=='url' || type=='checkbox' || type=='textarea' || type=='skype') {
+        } else if (type=='date' || type=='percent' || type=='email' || type=='phone' || type=='url' || type=='checkbox' || type=='textarea' || type=='skype') {
                 getObj("lengthdetails").style.visibility="hidden"
                 decimalLayer.style.visibility="hidden"
                 pickListLayer.style.visibility="hidden"
-        } else if (type=='number' || type=='percent' || type=='currency') {
+        } else if (type=='number' || type=='currency') {
                 lengthLayer.style.visibility="visible"
                 decimalLayer.style.visibility="visible"
                 pickListLayer.style.visibility="hidden"

Modified: vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php Sat May 12 06:05:38 2007
@@ -179,7 +179,6 @@
 								</tr>';
 								break;
 							case 71:
-							case 9:
 							case 7:
 								$output .= '<tr id="lengthdetails">
 									<td class="dataLabel" nowrap="nowrap" align="right"><b>'.$mod_strings['LBL_LENGTH'].'</b></td>





More information about the vtigercrm-commits mailing list