CRM-12124 temporarly disabling edit in place for value, until the BAO handles the...
authorXavier Dutoit <xavier@tttp.eu>
Wed, 20 Mar 2013 23:21:34 +0000 (00:21 +0100)
committerXavier Dutoit <xavier@tttp.eu>
Wed, 20 Mar 2013 23:21:34 +0000 (00:21 +0100)
templates/CRM/Custom/Page/Option.tpl

index 864652ada7950e30cc29ce7f6ea43c6a5e17f839..f551c5e77eadc6be210744c9d5eb498e2c99e1cb 100644 (file)
@@ -52,7 +52,7 @@
           {foreach from=$customOption item=row key=id}
             <tr id="OptionValue-{$id}"class="crm-entity {cycle values="odd-row,even-row"} {$row.class} crm-custom_option {if NOT $row.is_active} disabled{/if}">
               <td><span class="crm-custom_option-label crm-editable crmf-label">{$row.label}</span></td>
-              <td><span class="crm-custom_option-value crm-editable crmf-value">{$row.value}</span></td>
+              <td><span class="crm-custom_option-value disabled-crm-editable" data-field="value" data-action="update">{$row.value}</span></td>
               <td class="crm-custom_option-default_value crmf-value">{$row.default_value}</td>
               <td class="nowrap crm-custom_option-weight crmf-weight">{$row.weight}</td>
               <td id="row_{$id}_status" class="crm-custom_option-is_active crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>