X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FSearch.php;h=0e3a69abcb37c7580b201fb514dd16253dbb85cd;hb=5ede0a7dbc25d1d6c0cbbf281f3df2ec32f2cb8d;hp=adb3c512ef2a038e6c5f32afeacdcebe24db6d9b;hpb=736e1e72cabe56af5079b981ceac51d815644d2a;p=civicrm-core.git diff --git a/CRM/Contact/Form/Search.php b/CRM/Contact/Form/Search.php index adb3c512ef..0e3a69abcb 100644 --- a/CRM/Contact/Form/Search.php +++ b/CRM/Contact/Form/Search.php @@ -379,6 +379,11 @@ class CRM_Contact_Form_Search extends CRM_Core_Form { * @return void */ function buildQuickForm() { + CRM_Core_Resources::singleton() + ->addScriptFile('civicrm', 'js/crm.livePage.js') + // jsTree is needed for tags popup + ->addScriptFile('civicrm', 'packages/jquery/plugins/jstree/jquery.jstree.js', 0, 'html-header', FALSE) + ->addStyleFile('civicrm', 'packages/jquery/plugins/jstree/themes/default/style.css', 0, 'html-header'); $permission = CRM_Core_Permission::getPermission(); // some tasks.. what do we want to do with the selected contacts ? $tasks = array('' => ts('- actions -')); @@ -524,9 +529,9 @@ class CRM_Contact_Form_Search extends CRM_Core_Form { $this->assign('ts_all_id', $allRowsRadio->_attributes['id']); /* - * add form checkboxes for each row. This is needed out here to conform to QF protocol - * of all elements being declared in builQuickForm - */ + * add form checkboxes for each row. This is needed out here to conform to QF protocol + * of all elements being declared in builQuickForm + */ $rows = $this->get('rows'); @@ -557,14 +562,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form { ) ); - $this->add('submit', $this->_printButtonName, ts('Print'), - array( - 'class' => 'form-submit', - 'id' => 'Print', - 'onclick' => "return checkPerformAction('mark_x', '" . $this->getName() . "', 1, 1);", - ) - ); - $this->setDefaultAction('refresh'); }