mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
use new v2.1 file api when rename/lock/unlock/del file
This commit is contained in:
@@ -259,7 +259,7 @@ define([
|
||||
var after_op_error = function(xhr) {
|
||||
var err_msg;
|
||||
if (xhr.responseText) {
|
||||
err_msg = $.parseJSON(xhr.responseText).error;
|
||||
err_msg = $.parseJSON(xhr.responseText).error_msg;
|
||||
} else {
|
||||
err_msg = gettext("Failed. Please check the network.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user