mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
use new v2.1 file api when rename/lock/unlock/del file
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user