Progresses on #23. Support differnt webdav urls
This commit is contained in:
@@ -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;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user