mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-23541 shortanswer fixed jump defaults
This commit is contained in:
parent
94282e8f95
commit
cc6d233dd7
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class lesson_add_page_form_shortanswer extends lesson_add_page_form_base {
|
|||
$this->_form->addElement('header', 'answertitle'.$i, get_string('answer').' '.($i+1));
|
||||
$this->add_answer($i);
|
||||
$this->add_response($i);
|
||||
$this->add_jumpto($i);
|
||||
$this->add_jumpto($i, NULL, ($i == 0 ? LESSON_NEXTPAGE : LESSON_THISPAGE));
|
||||
$this->add_score($i, null, ($i===0)?1:0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue