Group form tweak - add select2
authorColeman Watts <coleman@civicrm.org>
Fri, 7 Mar 2014 15:41:48 +0000 (10:41 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 7 Mar 2014 15:41:48 +0000 (10:41 -0500)
CRM/Contact/Form/GroupContact.php

index df4a795612858f14589eea23b2f5306dff7b4239..7f0bdf0cd4001f3a2ff698bc32bfefed67515ed6 100644 (file)
@@ -102,7 +102,7 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form {
         $msg = ts('Add to a group');
       }
 
-      $this->add('select', 'group_id', $msg, $groupSelect, TRUE);
+      $this->add('select', 'group_id', $msg, $groupSelect, TRUE, array('class' => 'crm-select2'));
 
       $this->addButtons(array(
           array(