CRM-15759 - Apply crmEditable behavior based on events instead of a template
authorColeman Watts <coleman@civicrm.org>
Sat, 3 Jan 2015 02:14:42 +0000 (21:14 -0500)
committerColeman Watts <coleman@civicrm.org>
Sat, 3 Jan 2015 02:14:42 +0000 (21:14 -0500)
48 files changed:
js/jquery/jquery.crmeditable.js
templates/CRM/ACL/Page/ACL.tpl
templates/CRM/Admin/Page/ContactType.tpl
templates/CRM/Admin/Page/Extensions.tpl
templates/CRM/Admin/Page/Job.tpl
templates/CRM/Admin/Page/JobLog.tpl
templates/CRM/Admin/Page/LocationType.tpl
templates/CRM/Admin/Page/MessageTemplates.tpl
templates/CRM/Admin/Page/Options.tpl
templates/CRM/Admin/Page/ParticipantStatusType.tpl
templates/CRM/Admin/Page/PaymentProcessor.tpl
templates/CRM/Admin/Page/PaymentProcessorType.tpl
templates/CRM/Admin/Page/RelationshipType.tpl
templates/CRM/Admin/Page/Reminders.tpl
templates/CRM/Admin/Page/Tag.tpl
templates/CRM/Badge/Page/Layout.tpl
templates/CRM/Campaign/Form/Search/Campaign.tpl
templates/CRM/Campaign/Form/Search/Petition.tpl
templates/CRM/Campaign/Form/Search/Survey.tpl
templates/CRM/Campaign/Page/Campaign.tpl
templates/CRM/Campaign/Page/Petition.tpl
templates/CRM/Campaign/Page/Survey.tpl
templates/CRM/Campaign/Page/SurveyType.tpl
templates/CRM/Contribute/Page/ContributionPage.tpl
templates/CRM/Contribute/Page/ContributionRecur.tpl
templates/CRM/Contribute/Page/ContributionType.tpl
templates/CRM/Contribute/Page/ManagePremiums.tpl
templates/CRM/Custom/Page/Field.tpl
templates/CRM/Custom/Page/Group.tpl
templates/CRM/Custom/Page/Option.tpl
templates/CRM/Event/Page/ManageEvent.tpl
templates/CRM/Financial/Form/Search.tpl
templates/CRM/Financial/Page/FinancialAccount.tpl
templates/CRM/Financial/Page/FinancialType.tpl
templates/CRM/Financial/Page/FinancialTypeAccount.tpl
templates/CRM/Group/Form/Search.tpl
templates/CRM/Mailing/Page/Component.tpl
templates/CRM/Member/Page/MembershipStatus.tpl
templates/CRM/Member/Page/MembershipType.tpl
templates/CRM/Price/Page/Field.tpl
templates/CRM/Price/Page/Option.tpl
templates/CRM/Price/Page/Set.tpl
templates/CRM/Report/Form.tpl
templates/CRM/Report/Page/Options.tpl
templates/CRM/SMS/Page/Provider.tpl
templates/CRM/UF/Page/Field.tpl
templates/CRM/UF/Page/Group.tpl
templates/CRM/common/crmeditable.tpl

index 79f8d745151c646fd34e8378afa442780bd5dbed..ac87b2a999fc33ebb6fb2137edfe67efebfe2f71 100644 (file)
     });
   };
 
+  $(document).on('crmLoad', function(e) {
+    $('.crm-editable', e.target).crmEditable();
+  })
+
 })(jQuery);
index bb3f4f11a4bd6619a9c044afe2cd7dffedcfb981..9f8b650a317dfe08c4b841ae275d3a53350e733b 100644 (file)
@@ -78,7 +78,6 @@
           </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}"/>
index 4011d337fbada1ceb3a9f4a853d355f273f3ac86..8ee95e215e1b92e27b0024016aab39d00cdd3be7 100644 (file)
@@ -35,7 +35,6 @@
     {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>
index 8589fb3db8acc865aa5464d489960a676d5effea..b986472756143fd0d7c8c86027cf4822b6affaa3 100644 (file)
@@ -40,7 +40,6 @@
     {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">
index a1f2f6a8f7f3b48b9643bf9f173cd0eb399f3b97..2cdad726b3dfe69f23283bcfbf032cb27196515b 100644 (file)
@@ -45,7 +45,6 @@
     {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>
index 568ee417123eae92e5137c2a2c5d2ad692e1a8d2..76cdd9f3a01bfab9cec465f15dbf1aa5cb772193 100644 (file)
@@ -40,7 +40,6 @@
         {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>
index ea4f4c316c73cf65d0651b864e8c8dca44509ab9..311fb54039a1444338bd14a1b779eb0efd293294 100644 (file)
@@ -35,7 +35,6 @@
     {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>
index de06af1952230204fa4b746f8db5d9de3e2c1070..1f3032518a6781649abf76f5ef8553f79ab75426 100644 (file)
@@ -98,7 +98,6 @@
 
     {* 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'>
index 38ed85193be1e06fb7933ee7a6fda0ec97d407f0..715945d1b633ad15896f92eeefbd0f995aaa4dee 100644 (file)
         {/foreach}
         </tbody>
         </table>
-        {include file="CRM/common/crmeditable.tpl"}
         {/strip}
 
 </div>
index 9334e25bab7eab9f9fecc232bfe6faf443b8a58d..dcca5445983894bb42a6cd7862d0037d4d377e9d 100644 (file)
@@ -32,7 +32,6 @@
   {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>
index 14fec223b228410596f67dafd8dd9cd60ca54194..ae7d63b47f13444976d86a4a289529595f95df47 100644 (file)
@@ -36,7 +36,6 @@
         {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>
index ec3e915fd21ce7dda5ade4808eb9d87abf0b210b..4697f1280c07def6a03c150fc524e864d572872b 100644 (file)
@@ -37,7 +37,6 @@
     <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>
index a1ba56c7bd36a728afffeaa135bff8c2d2c618aa..c7134402bd94522e0308efda4cf18f3cda41e357 100644 (file)
@@ -45,7 +45,6 @@
     {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>
index 46317fef038895f0bf18be2cca20075929487956..a3e42a9245c0aaf38bd370c4c8cf94df66ec5fad 100755 (executable)
@@ -28,7 +28,6 @@
 {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">
index 270b54f7ad442bea7255216207641697a5538e8b..ebc155aca25303bf31e6dbd466fa0ed4f4c7d009 100644 (file)
@@ -168,4 +168,3 @@ CRM.$(function($) {
 {/literal}
 
 {/if}
-{include file="CRM/common/crmeditable.tpl"}
index 30d1cdbe98d0d9197299825c766a2f5472279cc7..7a1592fa9182c255384697cae97581f56794c55b 100644 (file)
@@ -36,7 +36,6 @@
       {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>
index bec02ff2bdcddad277b24c7bb9dfbe065182b395..7bb20d4e5a7b5603279b7d8f1639a1162e1d2378 100755 (executable)
@@ -39,7 +39,6 @@
 {* 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) {
index 329ceae333c336269efafd32c169d09fa9bf3e94..506ee4cec2ba909e72ed2baa81e023615cdc7874 100755 (executable)
@@ -42,7 +42,6 @@
        {* load petition selector *}
 
        {include file="CRM/common/enableDisableApi.tpl"}
-       {include file="CRM/common/crmeditable.tpl"}
 
        {literal}
        <script type="text/javascript">
@@ -199,6 +198,7 @@ function loadPetitionList( )
              "oLanguage":{"sEmptyTable"  : noRecordFoundMsg,
                  "sZeroRecords" : noRecordFoundMsg },
              "fnDrawCallback": function() {
+               // FIXME: trigger crmLoad and crmEditable would happen automatically
                CRM.$('.crm-editable').crmEditable();
              },
              "fnRowCallback": function( nRow, aData, iDisplayIndex ) {
index 484b400d5e3db7d6abc2c21561c96e7ea7653f66..776c9bd8356ff67ad20f5a98e7b627da31eb4580 100755 (executable)
@@ -41,7 +41,6 @@
 
   {* load survey selector *}
   {include file="CRM/common/enableDisableApi.tpl"}
-  {include file="CRM/common/crmeditable.tpl"}
 
   {literal}
   <script type="text/javascript">
@@ -213,6 +212,7 @@ function loadSurveyList( )
              "oLanguage":{"sEmptyTable"  : noRecordFoundMsg,
                  "sZeroRecords" : noRecordFoundMsg },
              "fnDrawCallback": function() {
+               // FIXME: trigger crmLoad and crmEditable would happen automatically
                CRM.$('.crm-editable').crmEditable();
              },
              "fnRowCallback": function( nRow, aData, iDisplayIndex ) {
index ea77e6cb48445b94ea7e01eb3b9b4ca4df5596be..380819411c07e6f3b46fb9d1674d9b4db4855844 100644 (file)
@@ -29,7 +29,6 @@
       <a href="{$addCampaignUrl}" class="button"><span>&raquo; {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>
index b4c12e28cf4ec93777c45d6ff96705be23015c4b..c9c2f9c8aeabb209a74a657a7832d452e51cb39d 100644 (file)
@@ -30,7 +30,6 @@
     <a href="{$addSurveyUrl}" class="button"><span>&raquo; {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">
index b4c12e28cf4ec93777c45d6ff96705be23015c4b..c9c2f9c8aeabb209a74a657a7832d452e51cb39d 100644 (file)
@@ -30,7 +30,6 @@
     <a href="{$addSurveyUrl}" class="button"><span>&raquo; {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">
index 129ba414fbd6cc89ea403041ba40e3e74bbfd0b7..4ddc6759d7bc7c0123bebce61b1563901ae1db44 100644 (file)
@@ -11,7 +11,6 @@
         {strip}
   {* handle enable/disable actions*}
   {include file="CRM/common/enableDisableApi.tpl"}
-  {include file="CRM/common/crmeditable.tpl"}
         <table class="row-highlight">
          <thead>
          <tr>
index fa5b7222d0ce14431450d21739fc37d51980af5d..acb160672c2b7afc60c37f6bec2d18daebec9b86 100644 (file)
@@ -46,7 +46,6 @@
              {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>
index 35a75c0880de5d2c1a8bee83336e9434a83de28f..95c8bb56dee9bd95d9f02cd1169c39a621ec9619 100644 (file)
@@ -25,7 +25,6 @@
 *}
 
 {include file="CRM/common/enableDisableApi.tpl"}
-{include file="CRM/common/crmeditable.tpl"}
 
 {if $action eq 4} {* when action is view *}
     {if $recur}
index 6b667a4bbb2f49409b97e18d7503c22953e2bc80..4e1aa0b9faac00327d9dfa33a9fe7e41a7600c31 100644 (file)
@@ -37,7 +37,6 @@
         {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>
index 1688f8979f92682fdfaf3f595de604f1bd5643d9..1cd96434eabd054c80c0cd1b4441ba941feca74d 100644 (file)
@@ -43,7 +43,6 @@
     {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>
index 42181e10291c087e4536968adcc77fb4a33c6e62..eb11ac23b562084b94273494ea5ca1771099aa33 100644 (file)
@@ -82,5 +82,4 @@
     </div>
 {/if}
 
-{include file="CRM/common/crmeditable.tpl"}
 
index 79e1537075bd3844d34d3e5e76efd2d5634aa0bf..db9d7fd6048742fb2f055d831dfc5586464c471d 100644 (file)
@@ -41,7 +41,6 @@
      {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>
index a51972658565012bfb2c3a102621035284330925..787a7f375595cf0322a444a9c7bd819e6e7fb1fc 100644 (file)
@@ -39,7 +39,6 @@
         {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>
index 424ab4fb40d1fb38817a8a2ee1c5281389ca87a7..4e90daea8511e119acaf55449f251c89f79d33bf 100644 (file)
@@ -61,7 +61,6 @@
   {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>
index 2994bfcec6de2cf5a458f955d63480af187c2c28..e6bd46aee6cd79ab2fc792c890de28e439530510 100644 (file)
@@ -149,6 +149,7 @@ CRM.$(function($) {
         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) {
index f184be30b5eae7d74f90f1f0b347b687fc054745..163374ae06d033c0cdb5ce37a5cfb40a37aa8eb0 100644 (file)
@@ -46,7 +46,6 @@
       {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>
index 7e87ffd29f1001579a216eaf67fc9f2f8d52fc7e..320d62322e81b962364c4c7c875aca818584e6c9 100644 (file)
@@ -41,7 +41,6 @@
   {* 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>
index c398ddb3660da86bb99e6dbfbc3f68f65fa49d6d..f728f97902eb42fc66f44df1e65582c17a4de2b2 100644 (file)
@@ -38,7 +38,6 @@
     {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>
index 4a9233fd3d0ce79619f410ba85342d6f7a09a1c4..86ac0d5891bfb1fe0cf96961f1099b6fd61aef12 100644 (file)
@@ -89,7 +89,6 @@
 
 {* handle enable/disable actions*}
 {include file="CRM/common/enableDisableApi.tpl"}
-{include file="CRM/common/crmeditable.tpl"}
 
 {literal}
 <script type="text/javascript">
@@ -188,6 +187,7 @@ CRM.$(function($) {
           return nRow;
         },
         "fnDrawCallback": function() {
+          // FIXME: trigger crmLoad and crmEditable would happen automatically
           $('.crm-editable').crmEditable();
         },
         "fnServerData": function ( sSource, aoData, fnCallback ) {
@@ -307,7 +307,6 @@ CRM.$(function($) {
             });
             $( rowID ).after( appendHTML );
             $( rowID ).next().trigger('crmLoad');
-            $('.crm-editable').crmEditable();
           }
       });
     }
index 6017e8a5565b26cdb3745148f38a31d1ead821d4..40570eddaa01e32416ecc19785c9d427fe1aed42 100644 (file)
@@ -33,7 +33,6 @@
        {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>
index f30d3b3ad389c75b9fe98271b600effb1f489e25..0c2c4f209e4f56ec9c59d56f33ff80ff623def54 100644 (file)
@@ -39,7 +39,6 @@
         {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>
index ebd06686f13861d997785593b2d7113dfd86edec..a4460740e8adf5896fcb12b765460fa818d613e3 100644 (file)
@@ -35,7 +35,6 @@
   {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>
index 03542ce8140d40cc4eba96edd1d9d5ae9750e5c3..11a97de1764edf200bdeafcb84f526a5332fccbf 100644 (file)
@@ -53,7 +53,6 @@
   {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>
index 7b6e5401e3fdb743d5a68fd817459cfa1501d421..465caa28353e866107d8ac23e9bcd4b0c7a384bf 100644 (file)
@@ -49,7 +49,6 @@
       {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>
index 21292be06ec3bc2aefa51748261d17b8700e24c1..d6539b31304e770a1e97b6319973a45e0452d1b5 100644 (file)
@@ -54,7 +54,6 @@
         {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>
index f958bbb1cc6f35fdc9706275a7fa74026f05c614..4eef84cec0e31c1a60d19076b863b49f41a738bd 100644 (file)
@@ -24,7 +24,6 @@
  +--------------------------------------------------------------------+
 *}
 {if $outputMode neq 'print'}
-  {include file="CRM/common/crmeditable.tpl"}
 {/if}
 {* this div is being used to apply special css *}
 {if $section eq 1}
index 8d4a5bd45e900e71cc1175e5693d4737502841b2..7d0d2fc229c2bd576513a326521f7d795d243be8 100644 (file)
@@ -37,7 +37,6 @@
     {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>
index 181afdcc0eab80fbc266fc7d99395f005b9bd600..84bcc587b6cc63f51776f4c02706cfa1c55acc38 100644 (file)
@@ -37,7 +37,6 @@
     {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>
index 4ae3954a82bb69682dbc65f8fb2f8885c53f0219..6bdddfde92669be429894591dac7897945f37863 100644 (file)
@@ -44,7 +44,6 @@
         {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>
index 70fa31afb54689d4a02cd4a5da5e8a28089adedf..f1b79d1541935a7ee0f6805cf8c0202633ddfcbf 100644 (file)
@@ -65,7 +65,6 @@
 
         {* 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">
index 8aae1e3830c1a5a86c41cd1ef91fc8aa15bbbb01..b68d6c141c2e42394728a2c5706b912cb58e56ca 100644 (file)
@@ -1,7 +1,9 @@
+{* @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}