Merge branch '4.4' into master
[civicrm-core.git] / templates / CRM / Contact / Form / Search / ResultTasks.tpl
index 9b280dafe4efa2dd3c82ebf37130f377afa9cd1a..c6f98118680ea72fdb4a1d3033989fe16524c52f 100644 (file)
@@ -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.                                    |
  |                                                                    |
   </tr>
   <tr>
     <td colspan="2">
-     {* Hide export and print buttons in 'Add Members to Group' context. *}
+     {* Hide export button in 'Add Members to Group' context. *}
      {if $context NEQ 'amtg'}
-        {if $action eq 512}
-          <ul>   
-          {$form._qf_Advanced_next_print.html}&nbsp; &nbsp;
-        {elseif $action eq 8192}
-          {$form._qf_Builder_next_print.html}&nbsp; &nbsp;
-        {elseif $action eq 16384}
-          {* since this does not really work for a non standard search
-          {$form._qf_Custom_next_print.html}&nbsp; &nbsp;
-          *}
-        {else}
-            {$form._qf_Basic_next_print.html}&nbsp; &nbsp;
-        {/if}
         {$form.task.html}
      {/if}
      {if $action eq 512}
 
 {literal}
 <script type="text/javascript">
-toggleTaskAction( );
+CRM.$(function($) {
+  toggleTaskAction( );
+});
 </script>
 {/literal}