some tweaks
This commit is contained in:
1 parent
64520a75c5
commit
edccade28f
3 files changed
+90
-95
No files matched your search
@@ -138,6 +138,7 @@ webdav.convertURL = function (url) {
|
||||
webdav.move = function (oldLink, newLink) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let request = new XMLHttpRequest();
|
||||
|
||||
request.open('MOVE', webdav.convertURL(oldLink), true);
|
||||
request.setRequestHeader('Destination', webdav.convertURL(newLink));
|
||||
request.onload = () => {
|
||||
|
||||
Reference in new issue
Block a user