X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FSearch.php;h=e4be22736d02a0a43abab8e61674158bfde1f5b3;hb=0ae89576e5579be2e56db46a5249779d978a36bc;hp=eeffc5875df56f0d3061a397a651fe24099fe04e;hpb=80edcd50a225fe3e9a91bc56e8b7df44eb8466d7;p=civicrm-core.git diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index eeffc5875d..e4be22736d 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -1,9 +1,9 @@ addElement('text', 'sort_name', ts('Participant Name or Email'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); CRM_Event_BAO_Query::buildSearchForm($this); @@ -234,7 +235,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form { */ $rows = $this->get('rows'); if (is_array($rows)) { - CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.searchForm.js'); $lineItems = $eventIds = array(); if (!$this->_single) { $this->addElement('checkbox', @@ -321,14 +321,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form { ); } - // add buttons - $this->addButtons(array( - array( - 'type' => 'refresh', - 'name' => ts('Search'), - 'isDefault' => TRUE, - ), - )); } /**