From: Coleman Watts <coleman@civicrm.org> Date: Tue, 15 Jul 2014 22:00:07 +0000 (+0100) Subject: CRM-14161 - Use slect2 for opt-out group selector X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3e8871b952ccf16abf0f7678b0f3e25ff0a68f07;p=civicrm-core.git CRM-14161 - Use slect2 for opt-out group selector --- diff --git a/CRM/Mailing/Form/Group.php b/CRM/Mailing/Form/Group.php index 5b312838e0..8457c84f63 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -236,7 +236,8 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { ts('Unsubscription Group'), array( '' => ts('- select -')) + $staticGroups, - TRUE + TRUE, + array('class' => 'crm-select2 huge') ); } @@ -252,7 +253,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { $groups, array( 'size' => $groupSize, - 'style' => 'width:auto; min-width:240px;', + 'style' => 'width:auto; min-width:240px; max-width: 40%', 'class' => 'advmultiselect', ) );