mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
add ENABLE_GUEST_INVITATION setting
This commit is contained in:
@@ -349,7 +349,7 @@ define([
|
||||
ajaxErrorHandler: function(xhr, textStatus, errorThrown) {
|
||||
if (xhr.responseText) {
|
||||
var parsed_resp = $.parseJSON(xhr.responseText);
|
||||
this.feedback(parsed_resp.error||parsed_resp.error_msg, 'error');
|
||||
this.feedback(parsed_resp.error||parsed_resp.error_msg||parsed_resp.detail, 'error');
|
||||
} else {
|
||||
this.feedback(gettext("Failed. Please check the network."), 'error');
|
||||
}
|
||||
|
Reference in New Issue
Block a user