From 4aa30bd6a8b5aa6e5b0af53e8f632e1f5df03cc3 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 8 May 2006 14:15:07 +0000 Subject: [PATCH] fixes --- .../Asset/Wobject/EventManagementSystem.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 81820d54b..2ee7db46e 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -1834,6 +1834,14 @@ sub www_editEvent { if (scalar(keys(%discountPasses))) { #there are some discount passes entered into the system %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( -name=>'passType', -options=>\%passOptions, @@ -1863,14 +1871,6 @@ changePassType(); -hoverHelp=>$i18n->echo('Which Discount Pass will be applied to this event.'), -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.