Merge branch 'MDL-35977-master' of git://github.com/mihailges/moodle

This commit is contained in:
Andrew Nicols 2018-07-23 15:30:51 +08:00
commit 9266d24827

View File

@ -493,7 +493,8 @@ class comment {
$textareaattrs = array(
'name' => 'content',
'rows' => 2,
'id' => 'dlg-content-'.$this->cid
'id' => 'dlg-content-'.$this->cid,
'aria-label' => get_string('addcomment')
);
if (!$this->fullwidth) {
$textareaattrs['cols'] = '20';