mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
MDL-23541 numerical fixed jump defaults
This commit is contained in:
parent
cc6d233dd7
commit
c72c3fc699
@ -251,7 +251,7 @@ class lesson_add_page_form_numerical extends lesson_add_page_form_base {
|
||||
$this->_form->addElement('header', 'answertitle'.$i, get_string('answer').' '.($i+1));
|
||||
$this->add_answer($i, NULL, ($i < 1));
|
||||
$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…
x
Reference in New Issue
Block a user