Progresses on #23. Support differnt webdav urls

This commit is contained in:
Henrique Dias committed 2016-10-20 22:23:36 +01:00
1 parent 591d5b3084
commit 1b387d215f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -89,7 +89,7 @@ Element.prototype.changeToDone = function(error, html) {
}
var toWebDavURL = function(url) {
url = url.replace("/", "/webdav/")
url = url.replace(baseURL + "/", webdavURL + "/");
return window.location.origin + url
}
@@ -908,4 +908,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
}
return false;
});
});