some tweaks

Former-commit-id: edccade28f
This commit is contained in:
Henrique Dias committed 2017-01-04 17:58:14 +00:00
1 parent 8cfef6fa93
commit 543c43517d
3 files changed
+90 -95

No files matched your search

+1
View File
@@ -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 = () => {