From 4999e6531bce72f84ab80006500cf4b051cbce61 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 11 Dec 2013 20:13:31 -0800 Subject: [PATCH] CRM-13932 - move jQuery.redirect out of core resources --- CRM/Core/Resources.php | 2 -- CRM/Financial/Form/Search.php | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 557f0dbf9c..dec03b682c 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -579,8 +579,6 @@ class CRM_Core_Resources { "packages/jquery/plugins/jquery.notify$min.js", - "packages/jquery/plugins/jquery.redirect.min.js", - "js/rest.js", "js/Common.js", diff --git a/CRM/Financial/Form/Search.php b/CRM/Financial/Form/Search.php index b9c0c63472..bc52e1079b 100644 --- a/CRM/Financial/Form/Search.php +++ b/CRM/Financial/Form/Search.php @@ -52,6 +52,7 @@ class CRM_Financial_Form_Search extends CRM_Core_Form { } public function buildQuickForm() { + CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'packages/jquery/plugins/jquery.redirect.min.js', 0, 'html-header'); $attributes = CRM_Core_DAO::getAttribute('CRM_Batch_DAO_Batch'); $attributes['total']['class'] = $attributes['item_count']['class'] = 'number'; $this->add('text', 'title', ts('Batch Name'), $attributes['title']); -- 2.25.1