Set deletion error instead of appending it
This commit is contained in:
parent
bbdd40be13
commit
5731f67956
|
@ -53,7 +53,7 @@ $(document).ready(function() {
|
|||
if (xhr.status === 200) {
|
||||
deleteModal.find('#web').html('<span style="clear:both">File deleted</span></div>');
|
||||
} else {
|
||||
deleteModal.find('#web').append('<span>Error (' + xhr.status + ') during deletion of file</span>');
|
||||
deleteModal.find('#web').html('<span>Error (' + xhr.status + ') during deletion of file</span>');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue