mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
Add <td> to cover rest of table wen ending early http://virtualmin.com/node/34341
This commit is contained in:
@ -174,6 +174,8 @@ if ($main::ui_table_pos+$cols+1 > $main::ui_table_cols &&
|
|||||||
$main::ui_table_pos != 0) {
|
$main::ui_table_pos != 0) {
|
||||||
# If the requested number of cols won't fit in the number
|
# If the requested number of cols won't fit in the number
|
||||||
# remaining, start a new row
|
# remaining, start a new row
|
||||||
|
my $leftover = $main::ui_table_cols - $main::ui_table_pos;
|
||||||
|
$rv .= "<td colspan=$leftover></td>\n";
|
||||||
$rv .= "</tr>\n";
|
$rv .= "</tr>\n";
|
||||||
$main::ui_table_pos = 0;
|
$main::ui_table_pos = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user