1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

update lock feature

Don't allow delete/rename/move a file when it is locked
This commit is contained in:
lian
2017-12-27 15:03:47 +08:00
parent 905bf9976d
commit 2fe5db8c76
12 changed files with 311 additions and 90 deletions

View File

@@ -1321,7 +1321,7 @@ define([
error: function(xhr) {
var err;
if (xhr.responseText) {
err = $.parseJSON(xhr.responseText).error;
err = $.parseJSON(xhr.responseText).error||$.parseJSON(xhr.responseText).error_msg;
} else {
err = gettext("Failed. Please check the network.");
}