[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
signup.html, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Thu Oct 26 01:35:44 PDT 2006
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv22642
Modified Files:
signup.html
Log Message:
don't display a (none) package selection if there's a default
Index: signup.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/signup.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- signup.html 23 Oct 2006 08:30:17 -0000 1.7
+++ signup.html 26 Oct 2006 08:35:42 -0000 1.8
@@ -207,7 +207,8 @@
<TD COLSPAN=2><SELECT NAME="pkgpart">
<%=
- $OUT .= '<OPTION VALUE="">(none)' unless scalar(@part_pkg ) ==1;
+ $OUT .= '<OPTION VALUE="">(none)'
+ unless scalar(@part_pkg) == 1 or $default_pkgpart;
foreach my $part_pkg ( @part_pkg ) {
$OUT .= '<OPTION VALUE="'. $part_pkg->{'pkgpart'}. '"';
$OUT .= ' SELECTED' if $pkgpart && $part_pkg->{'pkgpart'} == $pkgpart;
More information about the freeside-commits
mailing list