Skip to content

Commit

Permalink
Merge branch 'MDL-45781_27' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_27_STABLE
  • Loading branch information
Damyon Wiese committed Jun 3, 2014
2 parents b19370b + 23f43bb commit 07783f9
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
9 changes: 8 additions & 1 deletion mod/quiz/yui/build/moodle-mod_quiz-autosave/moodle-mod_quiz-autosave-debug.js 100644 → 100755
Expand Up @@ -343,7 +343,14 @@ M.mod_quiz.autosave = {
});
},

save_done: function() {
save_done: function(transactionid, response) {
if (response.responseText !== 'OK') {
// Because IIS is useless, Moodle can't send proper HTTP response
// codes, so we have to detect failures manually.
this.save_failed(transactionid, response);
return;
}

Y.log('Save completed.');
this.save_transaction = null;

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/yui/build/moodle-mod_quiz-autosave/moodle-mod_quiz-autosave-min.js 100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion mod/quiz/yui/build/moodle-mod_quiz-autosave/moodle-mod_quiz-autosave.js 100644 → 100755
Expand Up @@ -335,7 +335,14 @@ M.mod_quiz.autosave = {
});
},

save_done: function() {
save_done: function(transactionid, response) {
if (response.responseText !== 'OK') {
// Because IIS is useless, Moodle can't send proper HTTP response
// codes, so we have to detect failures manually.
this.save_failed(transactionid, response);
return;
}

this.save_transaction = null;

if (this.dirty) {
Expand Down
9 changes: 8 additions & 1 deletion mod/quiz/yui/src/autosave/js/autosave.js
Expand Up @@ -341,7 +341,14 @@ M.mod_quiz.autosave = {
});
},

save_done: function() {
save_done: function(transactionid, response) {
if (response.responseText !== 'OK') {
// Because IIS is useless, Moodle can't send proper HTTP response
// codes, so we have to detect failures manually.
this.save_failed(transactionid, response);
return;
}

Y.log('Save completed.');
this.save_transaction = null;

Expand Down

0 comments on commit 07783f9

Please sign in to comment.