1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +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

@@ -138,7 +138,7 @@ define([
url: Common.getUrl({
name: 'lock_or_unlock_file',
repo_id: dir.repo_id
}),
}) + '?p=' + encodeURIComponent((filepath)),
type: 'PUT',
dataType: 'json',
data: {