Browse files

MDL-29743 quiz: Finish attempt link didn't save responses in some bro…


Thanks to Brandon Browning for identifying the problem. It is quite subtle why this typo would have this effect. You need to look at the implementation of the preventDefault method in lib/yui/3.4.1/build/event-base/event-base.js.
  • Loading branch information...
1 parent e25ecdf commit 1af4e4a8740afdcab9af7de2d956296a8f59cca2 @timhunt timhunt committed Nov 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/module.js
@@ -170,7 +170,7 @@ M.mod_quiz.nav.init = function(Y) {
if ('a.endtestlink')) {
Y.on('click', function(e) {
- e.preventDefault(e);
+ e.preventDefault();'#followingpage').set('value', -1);'#responseform').submit();
}, 'a.endtestlink');

0 comments on commit 1af4e4a

Please sign in to comment.