Add an empty option for the campaign select field on the profile form.
This commit is contained in:
parent
59ddafa417
commit
4d0bcfec55
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
||||||
'select', // field type
|
'select', // field type
|
||||||
'campaign', // field name
|
'campaign', // field name
|
||||||
E::ts('Assign donation to campaign'), // field label
|
E::ts('Assign donation to campaign'), // field label
|
||||||
$this->getCampaigns(), // list of options
|
array('' => E::ts('- none -')) + $this->getCampaigns(), // list of options
|
||||||
FALSE, // is not required
|
FALSE, // is not required
|
||||||
array('class' => 'crm-select2 huge')
|
array('class' => 'crm-select2 huge')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue