Minor fix in handling conflict message in drag-and-drop uploading.
This commit is contained in:
@@ -260,7 +260,7 @@
|
|||||||
}
|
}
|
||||||
window.ace_editor.insert(text);
|
window.ace_editor.insert(text);
|
||||||
},
|
},
|
||||||
error: function(r, textStatus, errorThrown) {
|
error: function(data, textStatus, errorThrown) {
|
||||||
if (data.status == 409) {
|
if (data.status == 409) {
|
||||||
alert('This file already exists.');
|
alert('This file already exists.');
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user