MDL-68343 gradereport_singleview: Use caption instead of summary

The summary attribute on the table element is obsolete.
This commit is contained in:
Shamim Rezaie
2020-04-22 04:31:06 +10:00
parent cc36c39b46
commit 85bf5b2e2c
@@ -172,7 +172,8 @@ abstract class tablelike extends screen {
$summary = $this->summary();
if (!empty($summary)) {
$table->summary = $summary;
$table->caption = $summary;
$table->captionhide = true;
}
// To be used for extra formatting.