1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-03 08:43:02 +00:00

Refactored send email by make use of ajax calls instead of posting the page

Always use getPath instead of pathname
This commit is contained in:
Ozzie Isaacs
2023-03-25 12:34:16 +01:00
parent 2b9f920454
commit 321db4d712
8 changed files with 403 additions and 372 deletions

View File

@@ -36,7 +36,7 @@ function init(logType) {
d.innerHTML = "loading ...";
$.ajax({
url: window.location.pathname + "/../../ajax/log/" + logType,
url: getPath() + "/../../ajax/log/" + logType,
datatype: "text",
cache: false
})