Merge pull request #4373 from civicrm/4.5
[civicrm-core.git] / CRM / Financial / Page / FinancialAccount.php
index 9a2892e48225be91f1ef92c2f32c891b18899e85..54072149a5c40b15aea0b7cdc27db558389f880f 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | 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.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -37,6 +37,8 @@
  * Page for displaying list of financial types
  */
 class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
+
+  public $useLivePageJS = TRUE;
   /**
    * The action links that we need to display for the browse screen
    *
@@ -126,7 +128,6 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
    * @static
    */
   function browse() {
-    CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
     // get all custom groups sorted by weight
     $contributionType = array();
     $dao = new CRM_Financial_DAO_FinancialAccount();
@@ -187,6 +188,8 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = null) {