CRM-12872 - add necessary js to contribution search
authorColeman Watts <coleman@civicrm.org>
Tue, 25 Feb 2014 14:39:31 +0000 (09:39 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 25 Feb 2014 14:39:31 +0000 (09:39 -0500)
CRM/Contribute/Form/Search.php

index 93e281a640e46e0c5b41f03831ca5fe043aa0e00..74936139d2c1c99cb53a88eaa5eab7c972943933 100644 (file)
@@ -265,6 +265,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form {
 
     $rows = $this->get('rows');
     if (is_array($rows)) {
+      CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.searchForm.js');
       if (!$this->_single) {
         $this->addElement('checkbox',
           'toggleSelect',