some tweaks
Former-commit-id: edccade28fa0f726ea610be43a5e0a11e492a912
This commit is contained in:
@@ -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