fixes
This commit is contained in:
parent
b1b85743db
commit
4aa30bd6a8
1 changed files with 8 additions and 8 deletions
|
|
@ -1834,6 +1834,14 @@ sub www_editEvent {
|
||||||
if (scalar(keys(%discountPasses))) {
|
if (scalar(keys(%discountPasses))) {
|
||||||
#there are some discount passes entered into the system
|
#there are some discount passes entered into the system
|
||||||
%discountPasses = (''=>$i18n->get('select one'),%discountPasses);
|
%discountPasses = (''=>$i18n->get('select one'),%discountPasses);
|
||||||
|
$f->selectBox(
|
||||||
|
-name=>'passId',
|
||||||
|
-rowClass=>'" id="passIdRow', # tricky little hack.
|
||||||
|
-options=>\%discountPasses,
|
||||||
|
-label=>$i18n->echo('assigned discount pass'),
|
||||||
|
-hoverHelp=>$i18n->echo('Which Discount Pass will be applied to this event.'),
|
||||||
|
-value=>$self->session->form->get("passId") || $event->{passId}
|
||||||
|
);
|
||||||
$f->radioList(
|
$f->radioList(
|
||||||
-name=>'passType',
|
-name=>'passType',
|
||||||
-options=>\%passOptions,
|
-options=>\%passOptions,
|
||||||
|
|
@ -1863,14 +1871,6 @@ changePassType();
|
||||||
-hoverHelp=>$i18n->echo('Which Discount Pass will be applied to this event.'),
|
-hoverHelp=>$i18n->echo('Which Discount Pass will be applied to this event.'),
|
||||||
-value=>$self->session->form->get("passId") || $event->{passId}
|
-value=>$self->session->form->get("passId") || $event->{passId}
|
||||||
);
|
);
|
||||||
$f->selectBox(
|
|
||||||
-name=>'passId',
|
|
||||||
-rowClass=>' id="passIdRow"',
|
|
||||||
-options=>\%discountPasses,
|
|
||||||
-label=>$i18n->echo('assigned discount pass'),
|
|
||||||
-hoverHelp=>$i18n->echo('Which Discount Pass will be applied to this event.'),
|
|
||||||
-value=>$self->session->form->get("passId") || $event->{passId}
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# add dynamically added metadata fields.
|
# add dynamically added metadata fields.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue