1
0
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:
lian
2016-03-28 17:53:58 +08:00
parent 0c71712661
commit fe6dbcbb63
5 changed files with 11 additions and 12 deletions

View File

@@ -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.");
}