quiz MDL-24140 navigating to a question that was not first on the page was broken.

This commit is contained in:
Tim Hunt
2010-11-02 19:20:58 +00:00
parent 6723a0390b
commit 222fb6e5fe
+1 -1
View File
@@ -135,7 +135,7 @@ M.mod_quiz.nav.init = function(Y) {
var questionidmatch = this.get('href').match(/#q(\d+)/);
if (questionidmatch) {
form.set(action, form.get(action) + '#q' + questionidmatch[1]);
form.set('action', form.get('action') + '#q' + questionidmatch[1]);
}
form.submit();