some tweaks

This commit is contained in:
Henrique Dias committed 2017-01-04 17:58:14 +00:00
1 parent 64520a75c5
commit edccade28f
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 = () => {