diff options
| author | ivan <ivan> | 2003-06-13 08:44:53 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2003-06-13 08:44:53 +0000 | 
| commit | 93e44dcab7a8b0f0b445715942e05381b1b39a23 (patch) | |
| tree | 318447075e21ae2d80ef14e853f3892f28604e0e /httemplate/edit | |
| parent | 29be0c660f1a9ebe044b190a177ca2ac96121335 (diff) | |
correct stickiness for checkbox options on export edit
Diffstat (limited to 'httemplate/edit')
| -rw-r--r-- | httemplate/edit/part_export.cgi | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index 4defbc86f..0590549f5 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -72,7 +72,9 @@ my $widget = new HTML::Widgets::SelectLayers(        } elsif ( $type eq 'text' ) {          $html .= qq!<INPUT TYPE="text" NAME="$option" VALUE="$value" SIZE=64>!;        } elsif ( $type eq 'checkbox' ) { -        $html .= qq!<INPUT TYPE="checkbox" NAME="$option" VALUE="1">!; +        $html .= qq!<INPUT TYPE="checkbox" NAME="$option" VALUE="1"! +        $html .= ' CHECKED' if $value; +        $html .= '>';        } else {          $html .= "unknown type $type";        } | 
