Merge branch 'MDL-47737-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Marina Glancy 2014-10-20 12:43:52 +08:00
commit c57681ed49
4 changed files with 5 additions and 5 deletions

View File

@ -963,7 +963,7 @@ EditorAutosave.prototype = {
error: ajaxErrorFunction,
failure: ajaxErrorFunction,
success: function(code, response) {
if (response.response !== "") {
if (response.responseText !== "") {
Y.soon(Y.bind(ajaxErrorFunction, this, [code, response]));
} else {
// All working.

File diff suppressed because one or more lines are too long

View File

@ -953,7 +953,7 @@ EditorAutosave.prototype = {
error: ajaxErrorFunction,
failure: ajaxErrorFunction,
success: function(code, response) {
if (response.response !== "") {
if (response.responseText !== "") {
Y.soon(Y.bind(ajaxErrorFunction, this, [code, response]));
} else {
// All working.

View File

@ -259,7 +259,7 @@ EditorAutosave.prototype = {
error: ajaxErrorFunction,
failure: ajaxErrorFunction,
success: function(code, response) {
if (response.response !== "") {
if (response.responseText !== "") {
Y.soon(Y.bind(ajaxErrorFunction, this, [code, response]));
} else {
// All working.