'CRM_Mailing_Event_DAO_Bounce', 'bounce_type_id',
array('keyColumn' => 'id', 'labelColumn' => 'name')
);
- $form->add('select', 'mailing_bounce_types', ts('Bounce Types'), $mailingBounceTypes, FALSE, array('multiple' => 'multiple'));
+ $form->add('select', 'mailing_bounce_types', ts('Bounce Types'), $mailingBounceTypes, FALSE,
+ array('id' => 'mailing_bounce_types', 'multiple' => 'multiple', 'title' => ts('- select -'))
+ );
// event filters
$form->addRadio('mailing_delivery_status', ts('Delivery Status'), CRM_Mailing_PseudoConstant::yesNoOptions('delivered'));
<br />
{$form.mailing_bounce_types.label}
{$form.mailing_bounce_types.html}
+ {literal}
+ <script type="text/javascript">
+ cj("select#mailing_bounce_types").crmasmSelect({
+ addItemTarget: 'bottom',
+ animate: false,
+ highlight: true,
+ sortable: true
+ });
+ </script>
+ {/literal}
</td>
<td>
{$form.mailing_open_status.label}