From: Coleman Watts Date: Sun, 1 Jan 2017 01:10:09 +0000 (-0500) Subject: Add select2 class to loc_event_id X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3a975512ebd48b88bbbf866615bbfa42a5819df8;p=civicrm-core.git Add select2 class to loc_event_id --- diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index 103ec8f2e9..53150ebe1d 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -197,7 +197,7 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { if (!isset($locationEvents[$this->_oldLocBlockId]) || (!$this->_oldLocBlockId)) { $locationEvents = array('' => ts('- select -')) + $locationEvents; } - $this->add('select', 'loc_event_id', ts('Use Location'), $locationEvents); + $this->add('select', 'loc_event_id', ts('Use Location'), $locationEvents, FALSE, array('class' => 'crm-select2')); } $this->addElement('advcheckbox', 'is_show_location', ts('Show Location?')); parent::buildQuickForm();