[freeside-commits] freeside/fs_selfservice/FS-SelfService SelfService.pm, 1.54.2.1, 1.54.2.2
Mark Wells
mark at wavetail.420.am
Mon Aug 16 18:05:48 PDT 2010
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService
In directory wavetail.420.am:/tmp/cvs-serv15128
Modified Files:
Tag: FREESIDE_1_9_BRANCH
SelfService.pm
Log Message:
fix SelfService county selector, RT#8079
Index: SelfService.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/SelfService.pm,v
retrieving revision 1.54.2.1
retrieving revision 1.54.2.2
diff -u -w -d -r1.54.2.1 -r1.54.2.2
--- SelfService.pm 12 Feb 2010 01:37:53 -0000 1.54.2.1
+++ SelfService.pm 17 Aug 2010 01:05:46 -0000 1.54.2.2
@@ -1393,6 +1393,18 @@
my $county_html = $script_html;
if ( $countyflag ) {
$county_html .= qq!<SELECT NAME="${prefix}county" onChange="$param->{'onchange'}">!;
+ foreach my $county (
+ sort keys %{ $cust_main_county{$param->{'selected_country'}}{$param->{'selected_state'}} }
+ ) {
+ my $text = $county || '(n/a)';
+ $county_html .= qq!<OPTION VALUE="$county"!.
+ ($county eq $param->{'selected_county'} ?
+ ' SELECTED>' :
+ '>'
+ ).
+ $text.
+ '</OPTION>';
+ }
$county_html .= '</SELECT>';
} else {
$county_html .=
More information about the freeside-commits
mailing list