mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-30843 editor: Fixed up out of place if
This commit is contained in:
parent
97d00c9f51
commit
e19dc11e51
@ -354,7 +354,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
$editorrules = ' onblur="'.htmlspecialchars($this->getAttribute('onblur')).'" onchange="'.htmlspecialchars($this->getAttribute('onchange')).'"';
|
||||
}
|
||||
$str .= '<div><textarea id="'.$id.'" name="'.$elname.'[text]" rows="'.$rows.'" cols="'.$cols.'"'.$editorrules.'>';
|
||||
$str .= s($text);if (count($formats)>1) {
|
||||
$str .= s($text);
|
||||
$str .= '</textarea></div>';
|
||||
|
||||
$str .= '<div>';
|
||||
@ -408,4 +408,4 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user