CRM-11610 - Search js - Abstract table row highlight/select
[civicrm-core.git] / templates / CRM / Contribute / Form / Selector.tpl
index 211a3bda27f12ab5e70602d4ed5ea62025bbd7e4..6074f84d5d15c0b837f16e2933f0201654b22848 100644 (file)
       </tr>
   {elseif $context eq 'contribution' }
       <tr class="even-row">
-      <td colspan="8"><a href="{crmURL p='civicrm/contact/view' q="reset=1&force=1&selectedChild=contribute&cid=$contactId"}">&raquo; {ts}View all contributions from this contact{/ts}... </a></td>
+      <td colspan="8"><a href="{crmURL p='civicrm/contribute/search' q="reset=1&force=1&cid=$contactId"}">&raquo; {ts}View all contributions from this contact{/ts}... </a></td>
       </tr>
   {/if}
 {/if}
 </table>
 {/strip}
 
-{if $context EQ 'Search'}
- <script type="text/javascript">
- {* this function is called to change the color of selected row(s) *}
-    var fname = "{$form.formName}";
-    on_load_init_checkboxes(fname);
- </script>
-{/if}
+
 
 {if $context EQ 'Search'}
     {include file="CRM/common/pager.tpl" location="bottom"}