copyright and version fixes
[civicrm-core.git] / templates / CRM / Campaign / Form / Search / Petition.tpl
index e741940899297c5addcb9593561f1148e2494312..e39d2dbcfb9f66f580fcd8677d39c52f9d43c28e 100755 (executable)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -41,7 +41,8 @@
 
        {* load petition selector *}
 
-       {include file="CRM/common/enableDisable.tpl"}
+       {include file="CRM/common/enableDisableApi.tpl"}
+       {include file="CRM/common/crmeditable.tpl"}
 
        {literal}
        <script type="text/javascript">
@@ -146,7 +147,7 @@ function searchPetitions( qfKey )
       if ( qfKey ) dataUrl = dataUrl + '&qfKey=' + qfKey;
 
       cj.get( dataUrl, null, function( petitionList ) {
-        cj( '#petitionList' ).html( petitionList );
+        cj( '#petitionList' ).html( petitionList ).trigger('crmLoad');
 
         //collapse the search form.
         var searchFormName = '#search_form_' + {/literal}'{$searchFor}'{literal};