diff --git a/mod/quiz/mod_form.php b/mod/quiz/mod_form.php index 13113cddb3d..a7db5cf1a7b 100644 --- a/mod/quiz/mod_form.php +++ b/mod/quiz/mod_form.php @@ -346,8 +346,8 @@ class mod_quiz_mod_form extends moodleform_mod { $repeatarray = array(); $repeatedoptions = array(); $repeatarray[] = $mform->createElement('editor', 'feedbacktext', - get_string('feedback', 'quiz'), null, array('maxfiles' => EDITOR_UNLIMITED_FILES, - 'noclean' => true, 'context' => $this->context)); + get_string('feedback', 'quiz'), array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES, + 'noclean' => true, 'context' => $this->context, 'collapsed' => 1)); $repeatarray[] = $mform->createElement('text', 'feedbackboundaries', get_string('gradeboundary', 'quiz'), array('size' => 10)); $repeatedoptions['feedbacktext']['type'] = PARAM_RAW; @@ -367,9 +367,9 @@ class mod_quiz_mod_form extends moodleform_mod { // Put some extra elements in before the button. $mform->insertElementBefore($mform->createElement('editor', - "feedbacktext[$nextel]", get_string('feedback', 'quiz'), null, + "feedbacktext[$nextel]", get_string('feedback', 'quiz'), array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES, 'noclean' => true, - 'context' => $this->context)), + 'context' => $this->context, 'collapsed' => 1)), 'boundary_add_fields'); $mform->insertElementBefore($mform->createElement('static', 'gradeboundarystatic2', get_string('gradeboundary', 'quiz'), '0%'),