});
};
+ $(document).on('crmLoad', function(e) {
+ $('.crm-editable', e.target).crmEditable();
+ })
+
})(jQuery);
</div>
{/if}
</div>
- {include file="CRM/common/crmeditable.tpl"}
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
{include file="CRM/Admin/Page/Extensions/About.tpl"}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<div id="mainTabContainer" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<br/><table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Name (Frequency)/Description{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Date{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
{* create two selector tabs, first being the ‘user’ one, the second being the ‘workflow’ one *}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
{foreach from=$rows item=template_row key=type}
<div id="{if $type eq 'userTemplates'}user{else}workflow{/if}" class='ui-tabs-panel ui-widget-content ui-corner-bottom'>
{/foreach}
</tbody>
</table>
- {include file="CRM/common/crmeditable.tpl"}
{/strip}
</div>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Label{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Name{/ts}</th>
<div class="form-item">
{strip}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
{strip}
{if $rows and is_array($rows)}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
{/if}
<table id="scheduleReminders" class="display">
{/literal}
{/if}
-{include file="CRM/common/crmeditable.tpl"}
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
{* load campaign selector *}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{literal}
<script type="text/javascript">
"oLanguage": {"sEmptyTable": noRecordFoundMsg,
"sZeroRecords": noRecordFoundMsg },
"fnDrawCallback": function () {
+ // FIXME: trigger crmLoad and crmEditable would happen automatically
$('.crm-editable').crmEditable();
},
"fnRowCallback": function (nRow, aData, iDisplayIndex) {
{* load petition selector *}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{literal}
<script type="text/javascript">
"oLanguage":{"sEmptyTable" : noRecordFoundMsg,
"sZeroRecords" : noRecordFoundMsg },
"fnDrawCallback": function() {
+ // FIXME: trigger crmLoad and crmEditable would happen automatically
CRM.$('.crm-editable').crmEditable();
},
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
{* load survey selector *}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{literal}
<script type="text/javascript">
"oLanguage":{"sEmptyTable" : noRecordFoundMsg,
"sZeroRecords" : noRecordFoundMsg },
"fnDrawCallback": function() {
+ // FIXME: trigger crmLoad and crmEditable would happen automatically
CRM.$('.crm-editable').crmEditable();
},
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
<a href="{$addCampaignUrl}" class="button"><span>» {ts}Add Campaign{/ts}</span></a>
</div>
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<div id="campaignType">
<table id="options" class="display">
<thead>
<a href="{$addSurveyUrl}" class="button"><span>» {ts}Add Survey{/ts}</span></a>
</div>
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<div id="surveyList">
<table id="options" class="display">
<a href="{$addSurveyUrl}" class="button"><span>» {ts}Add Survey{/ts}</span></a>
</div>
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<div id="surveyList">
<table id="options" class="display">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table class="row-highlight">
<thead>
<tr>
{include file="CRM/common/pagerAToZ.tpl"}
{* handle enable/disable actions *}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
*}
{include file="CRM/common/enableDisableApi.tpl"}
-{include file="CRM/common/crmeditable.tpl"}
{if $action eq 4} {* when action is view *}
{if $recur}
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Name{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
</div>
{/if}
-{include file="CRM/common/crmeditable.tpl"}
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
<th>{ts}Label{/ts}</th>
{include file="CRM/common/pagerAToZ.tpl"}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
return nRow;
},
"fnDrawCallback": function(oSettings) {
+ // FIXME: trigger crmLoad and crmEditable would happen automatically
$('.crm-editable', '#crm-batch-selector-{/literal}{$batchStatus}{literal}').crmEditable();
$("#toggleSelect").prop('checked', false);
if (checkedRows.length) {
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="crm-financial_accounts" class="display">
<thead class="sticky">
<th>{ts}Name{/ts}</th>
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Name{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Relationship{/ts}</th>
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
-{include file="CRM/common/crmeditable.tpl"}
{literal}
<script type="text/javascript">
return nRow;
},
"fnDrawCallback": function() {
+ // FIXME: trigger crmLoad and crmEditable would happen automatically
$('.crm-editable').crmEditable();
},
"fnServerData": function ( sSource, aoData, fnCallback ) {
});
$( rowID ).after( appendHTML );
$( rowID ).next().trigger('crmLoad');
- $('.crm-editable').crmEditable();
}
});
}
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Name{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Status{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="price_set" class="display crm-price-set-listing">
<thead>
+--------------------------------------------------------------------+
*}
{if $outputMode neq 'print'}
- {include file="CRM/common/crmeditable.tpl"}
{/if}
{* this div is being used to apply special css *}
{if $section eq 1}
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<br/><table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Provider Details{/ts}</th>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
{include file="CRM/common/jsortable.tpl"}
<div id="user-profiles">
<div class="crm-content-block">
+{* @deprecated *}
+
<script>
{literal}
CRM.$(function($) {
- $('.crm-editable').crmEditable ();
+ CRM.console('warn', 'Warning: A CiviCRM extension is attempting to use the deprecated crmeditable.tpl. The extension needs to be updated to remove references to this template.');
});
</script>
{/literal}