more fixes

This commit is contained in:
Matthew Wilson 2006-05-08 14:21:09 +00:00
parent 4aa30bd6a8
commit b955b24f5e

View file

@ -1845,6 +1845,7 @@ sub www_editEvent {
$f->radioList( $f->radioList(
-name=>'passType', -name=>'passType',
-options=>\%passOptions, -options=>\%passOptions,
-value=>$self->session->form->get("passType") || $event->{passType} || '',
-vertical=>1, -vertical=>1,
-extras=>' onclick="changePassType();" ', -extras=>' onclick="changePassType();" ',
-subtext=>'<script type="text/javascript"> -subtext=>'<script type="text/javascript">
@ -1855,7 +1856,7 @@ function getChosenType() {
if (document.forms[0].passType[i].checked) return document.forms[0].passType[i].value; if (document.forms[0].passType[i].checked) return document.forms[0].passType[i].value;
i++; i++;
} }
return undef; return "";
} }
function changePassType() { function changePassType() {
var passType = getChosenType(); var passType = getChosenType();