Skip to content

Commit

Permalink
MDL-47494 gapselect: expand choices by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Chambers committed Jun 27, 2013
1 parent aa877b5 commit 4c489e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/gapselect/edit_form_base.php
Expand Up @@ -118,6 +118,7 @@ protected function definition_inner($mform) {

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);
Expand Down

0 comments on commit 4c489e0

Please sign in to comment.