mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 09:21:54 +00:00
[misc] fixup
This commit is contained in:
@@ -81,9 +81,9 @@ define([
|
||||
repos.reset(repos.models);
|
||||
}
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
// TODO: handle error gracefully
|
||||
Common.feedback('Error', 'error', Common.ERROR_TIMEOUT);
|
||||
error: function(collection, response, options) {
|
||||
var error_msg = Common.prepareAjaxErrorMsg(response);
|
||||
Common.feedback(error_msg, 'error', Common.ERROR_TIMEOUT);
|
||||
},
|
||||
complete: function() {
|
||||
Common.closeModal();
|
||||
|
Reference in New Issue
Block a user