From 4c489e0e445cfdba276e17983299efbaae859ef0 Mon Sep 17 00:00:00 2001 From: Colin Chambers Date: Thu, 27 Jun 2013 15:10:38 +0100 Subject: [PATCH] MDL-47494 gapselect: expand choices by default --- question/type/gapselect/edit_form_base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/type/gapselect/edit_form_base.php b/question/type/gapselect/edit_form_base.php index eda8968de4d..38b3b7c606e 100644 --- a/question/type/gapselect/edit_form_base.php +++ b/question/type/gapselect/edit_form_base.php @@ -118,6 +118,7 @@ class qtype_gapselect_edit_form_base extends question_edit_form { protected function definition_answer_choice(&$mform) { $mform->addElement('header', 'choicehdr', get_string('choices', 'qtype_gapselect')); + $mform->setExpanded('choicehdr', 1); $mform->addElement('checkbox', 'shuffleanswers', get_string('shuffle', 'qtype_gapselect')); $mform->setDefault('shuffleanswers', 0);