X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct_pop.pm;h=196ab7ebbb71c92b5cfc7896fda94ae82e2b4c7e;hb=f2ffe6fc096fa59b1931da531b7a40b78cd6b747;hp=243c18a8b1c5545b9f12ae097a5c7f0634fbd967;hpb=2f33777f569ff435e4cc00769288b65f53fcfc0e;p=freeside.git diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm index 243c18a8b..196ab7ebb 100644 --- a/FS/FS/svc_acct_pop.pm +++ b/FS/FS/svc_acct_pop.pm @@ -107,7 +107,8 @@ Returns: sub text { my $self = shift; - $self->city. ', '. $self->state. ' ('. $self->ac. ')/'. $self->exch; + $self->city. ', '. $self->state. + ' ('. $self->ac. ')/'. $self->exch. '-'. $self->loc; } =back @@ -120,6 +121,8 @@ sub text { =cut +#horrible false laziness with signup.cgi (pull special-case for 0 & 1 +# pop code out from signup.cgi??) sub popselector { my( $popnum, $state ) = @_; @@ -139,8 +142,7 @@ sub popselector { function popstate_changed(what) { state = what.options[what.selectedIndex].text; - for (var i = what.form.popnum.length;i > 0;i--) - what.form.popnum.options[i] = null; + what.form.popnum.options.length = 0 what.form.popnum.options[0] = new Option("", "", false, true); END @@ -164,7 +166,13 @@ END $text .= ''; #callback? return 3 html pieces? #''; $text .= qq!