CRM-14408 - get rid of unnecessary calls to crmAccordions
[civicrm-core.git] / templates / CRM / Financial / Form / BatchTransaction.tpl
index 7418795569f8eadabcd8137a89f5ad0d2207e364..0ce0b1dfd2fe5b76ef0be58b1d3c6d1af6de5a38 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.                                    |
  |                                                                    |
@@ -89,8 +89,7 @@
 
 {literal}
 <script type="text/javascript">
-cj( function() {
-  cj().crmAccordions();
+CRM.$(function($) {
   cj('#_qf_BatchTransaction_submit-top, #_qf_BatchTransaction_submit-botttom').click(function() {
     cj('.crm-batch_transaction_search-accordion:not(.collapsed)').crmAccordionToggle();
   });