X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct_pop.pm;h=de41f5bb6ecd23464cfde750f11a94658ae52e17;hp=3c9ea01309bb7f35bc4b09b585843e0d4bdb7d23;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=0b65ce59c7d2ee712389c27954382274ddf718a5 diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm index 3c9ea0130..de41f5bb6 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!