mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-47737 editor_atto: Prevent false negative when saving draft on IE9
This commit is contained in:
parent
9b4a87f7e6
commit
53cca2274e
@ -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
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user