Jiffs Maverick
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/server/filer_ui/filer.html
|
@ -337,7 +337,7 @@ |
|
|
} |
|
|
} |
|
|
var url = basePath + encodeURIComponent(newName); |
|
|
var url = basePath + encodeURIComponent(newName); |
|
|
var originPath = basePath + originName; |
|
|
var originPath = basePath + originName; |
|
|
url += '?mv.from=' + originPath; |
|
|
|
|
|
|
|
|
url += '?mv.from=' + encodeURIComponent(originPath); |
|
|
var xhr = new XMLHttpRequest(); |
|
|
var xhr = new XMLHttpRequest(); |
|
|
xhr.open('POST', url, false); |
|
|
xhr.open('POST', url, false); |
|
|
xhr.setRequestHeader('Content-Type', ''); |
|
|
xhr.setRequestHeader('Content-Type', ''); |
|
|