XHTML Bugfixes
This commit is contained in:
parent
3d65ae2158
commit
0a0195fd60
4 changed files with 17 additions and 7 deletions
|
|
@ -94,13 +94,13 @@ sub toHtmlAsHidden {
|
|||
|
||||
=head2 toHtmlWithWrapper ( )
|
||||
|
||||
A synonym for toHtmlAsHidden.
|
||||
Renders the form field to HTML as a table row. The row is not displayed because there is nothing to display, but it may not be left away because <input> may not be a child of <table> according to the XHTML standard.
|
||||
|
||||
=cut
|
||||
|
||||
sub toHtmlWithWrapper {
|
||||
my $self = shift;
|
||||
return $self->toHtmlAsHidden;
|
||||
return '<tr style="display: none"><td></td><td>'.$self->toHtmlAsHidden.'</td></tr>';
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue