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:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user