Permalink
Browse files

MDL-34293 Themes: Added tbody to flexible table

  • Loading branch information...
Rajesh Taneja
Rajesh Taneja committed Aug 21, 2012
1 parent 2893205 commit 4625404451ea6fa1123144b66d547c1c8300ad78
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/tablelib.php
View
@@ -941,6 +941,7 @@ function start_output() {
} else {
$this->start_html();
$this->print_headers();
+ echo html_writer::start_tag('tbody');
}
}
@@ -1004,6 +1005,7 @@ function finish_html() {
$this->print_nothing_to_display();
} else {
+ echo html_writer::end_tag('tbody');
echo html_writer::end_tag('table');
echo html_writer::end_tag('div');
$this->wrap_html_finish();
@@ -1719,6 +1721,7 @@ function start_table($sheettitle) {
function output_headers($headers) {
$this->table->print_headers();
+ echo html_writer::start_tag('tbody');
}
function add_data($row) {

0 comments on commit 4625404

Please sign in to comment.