quiz editing: MDL-20263 When adding a new question directly to the quiz, highlight it in the question bank.

This commit is contained in:
Tim Hunt
2010-05-01 08:23:28 +00:00
parent 06f87d2f57
commit 455d765f87
+1
View File
@@ -213,6 +213,7 @@ if (($addquestion = optional_param('addquestion', 0, PARAM_INT)) && confirm_sess
quiz_add_quiz_question($addquestion, $quiz, $addonpage);
quiz_update_sumgrades($quiz);
quiz_delete_previews($quiz);
$thispageurl->param('lastchanged', $addquestion);
redirect($thispageurl);
}