X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct_pop.pm;h=f98f91a4f2621da833097e7ba96ace25ac218650;hb=92fa788fb842baab8fa185e159d8effde739bd74;hp=3c9ea01309bb7f35bc4b09b585843e0d4bdb7d23;hpb=0b65ce59c7d2ee712389c27954382274ddf718a5;p=freeside.git diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm index 3c9ea0130..f98f91a4f 100644 --- a/FS/FS/svc_acct_pop.pm +++ b/FS/FS/svc_acct_pop.pm @@ -93,6 +93,7 @@ sub check { or $self->ut_number('ac') or $self->ut_number('exch') or $self->ut_numbern('loc') + or $self->SUPER::check ; } @@ -142,8 +143,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 @@ -167,7 +167,13 @@ END $text .= ''; #callback? return 3 html pieces? #''; $text .= qq!