Add <td> to cover rest of table wen ending early http://virtualmin.com/node/34341

This commit is contained in:
Jamie Cameron
2014-09-26 13:11:58 -07:00
parent 10c183c35d
commit a5db316751

View File

@ -174,6 +174,8 @@ if ($main::ui_table_pos+$cols+1 > $main::ui_table_cols &&
$main::ui_table_pos != 0) {
# If the requested number of cols won't fit in the number
# remaining, start a new row
my $leftover = $main::ui_table_cols - $main::ui_table_pos;
$rv .= "<td colspan=$leftover></td>\n";
$rv .= "</tr>\n";
$main::ui_table_pos = 0;
}