'title' => ts('Add Contribution'),
'weight' => 5,
'ref' => 'new-contribution',
- 'class' => 'huge-popup',
'key' => 'contribution',
'tab' => 'contribute',
'component' => 'CiviContribute',
'title' => ts('Register for Event'),
'weight' => 10,
'ref' => 'new-participant',
- 'class' => 'huge-popup',
'key' => 'participant',
'tab' => 'participant',
'component' => 'CiviEvent',
'title' => ts('Add Membership'),
'weight' => 20,
'ref' => 'new-membership',
- 'class' => 'huge-popup',
'key' => 'membership',
'tab' => 'member',
'component' => 'CiviMember',
else if ($el.hasClass('medium-popup')) {
settings.dialog.width = settings.dialog.height = '50%';
}
- else if ($el.hasClass('huge-popup')) {
- settings.dialog.height = '90%';
- }
var dialog = popup(url, settings);
// Trigger events from the dialog on the original link element
$el.trigger('crmPopupOpen', [dialog]);