[Vtigercrm-commits] [vtiger-commits] r9236 - /vtigercrm/trunk/modules/Settings/CreateCustomField.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun Sep 3 23:43:59 EDT 2006
Author: saraj
Date: Sun Sep 3 21:43:56 2006
New Revision: 9236
Log:
changes done to make multiselect combo box/picklist values editable --Minnie
Modified:
vtigercrm/trunk/modules/Settings/CreateCustomField.php
Modified: vtigercrm/trunk/modules/Settings/CreateCustomField.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/CreateCustomField.php (original)
+++ vtigercrm/trunk/modules/Settings/CreateCustomField.php Sun Sep 3 21:43:56 2006
@@ -121,10 +121,7 @@
$sel_val = 'selected';
else
$sel_val = '';
- if($disable_str == 'disabled')
- $combo_output.= '<a href="#" onClick="makeFieldSelected(this,'.$i.');" id="field'.$i.'" style="text-decoration:none;background-image:url('.$cfimagecombo[$i].');" class="customMnu" '.$disable_str.'>'.$cftextcombo[$i].'</a>';
- else
- $combo_output.= '<a href="javascript:;" onClick="makeFieldSelected(this,'.$i.');" id="field'.$i.'" style="text-decoration:none;background-image:url('.$cfimagecombo[$i].');" class="customMnu" '.$disable_str.'>'.$cftextcombo[$i].'</a>';
+ $combo_output.= '<a href="javascript:void(0);" onClick="makeFieldSelected(this,'.$i.');" id="field'.$i.'" style="text-decoration:none;background-image:url('.$cfimagecombo[$i].');" class="customMnu" '.$disable_str.'>'.$cftextcombo[$i].'</a>';
}
$output .= '<div id="orgLay" style="display:block;" class="layerPopup"><script language="JavaScript" type="text/javascript" src="include/js/customview.js"></script>
@@ -194,7 +191,7 @@
case 15:
$output .= '<tr id="picklist">
<td class="dataLabel" nowrap="nowrap" align="right" valign="top"><b>'.$mod_strings['LBL_PICK_LIST_VALUES'].'</b></td>
- <td align="left" valign="top"><textarea name="fldPickList" rows="10" class="txtBox" '.$readonly.'>'.$fldVal.'</textarea></td>
+ <td align="left" valign="top"><textarea name="fldPickList" rows="10" class="txtBox" >'.$fldVal.'</textarea></td>
<!--td style="padding-left:10px"><img src="themes/Aqua/images/picklist_hint.gif"/></td-->
</tr>';
break;
More information about the vtigercrm-commits
mailing list