CRM-14161 - Use slect2 for opt-out group selector
authorColeman Watts <coleman@civicrm.org>
Tue, 15 Jul 2014 22:00:07 +0000 (23:00 +0100)
committerColeman Watts <coleman@civicrm.org>
Tue, 15 Jul 2014 22:00:07 +0000 (23:00 +0100)
CRM/Mailing/Form/Group.php

index 5b312838e0e21ca8c70d81aaaa599181d8c0f0db..8457c84f63bffbb97bc2cba4fe4ed3126e4ea842 100644 (file)
@@ -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',
       )
     );