Testrun
Use getPath more often
This commit is contained in:
@@ -103,7 +103,7 @@ $(function() {
|
|||||||
method:"post",
|
method:"post",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
url: window.location.pathname + "/../ajax/mergebooks",
|
url: getPath() + "/ajax/mergebooks",
|
||||||
data: JSON.stringify({"Merge_books":selections}),
|
data: JSON.stringify({"Merge_books":selections}),
|
||||||
success: function success() {
|
success: function success() {
|
||||||
$("#books-table").bootstrapTable("refresh");
|
$("#books-table").bootstrapTable("refresh");
|
||||||
@@ -122,7 +122,7 @@ $(function() {
|
|||||||
method:"post",
|
method:"post",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
url: window.location.pathname + "/../ajax/simulatemerge",
|
url: getPath() + "/ajax/simulatemerge",
|
||||||
data: JSON.stringify({"Merge_books":selections}),
|
data: JSON.stringify({"Merge_books":selections}),
|
||||||
success: function success(booTitles) {
|
success: function success(booTitles) {
|
||||||
$('#merge_from').empty();
|
$('#merge_from').empty();
|
||||||
@@ -140,7 +140,7 @@ $(function() {
|
|||||||
method:"post",
|
method:"post",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
url: window.location.pathname + "/../ajax/xchange",
|
url: getPath() + "/ajax/xchange",
|
||||||
data: JSON.stringify({"xchange":selections}),
|
data: JSON.stringify({"xchange":selections}),
|
||||||
success: function success() {
|
success: function success() {
|
||||||
$("#books-table").bootstrapTable("refresh");
|
$("#books-table").bootstrapTable("refresh");
|
||||||
|
|||||||
@@ -48,11 +48,11 @@ dependencies = [
|
|||||||
"urllib3>=1.22,<3.0",
|
"urllib3>=1.22,<3.0",
|
||||||
"Flask-Limiter>=2.3.0,<3.13.0",
|
"Flask-Limiter>=2.3.0,<3.13.0",
|
||||||
"regex>=2022.3.2,<2025.3.20",
|
"regex>=2022.3.2,<2025.3.20",
|
||||||
"bleach>=6.0.0,<6.2.0",
|
"bleach>=6.0.0,<6.3.0",
|
||||||
"python-magic>=0.4.27,<0.5.0",
|
"python-magic>=0.4.27,<0.5.0",
|
||||||
"python-magic-bin>=0.4.0,<0.5.0;sys_platform=='win32'",
|
"python-magic-bin>=0.4.0,<0.5.0;sys_platform=='win32'",
|
||||||
"flask-httpAuth>=4.4.0,<5.0.0",
|
"flask-httpAuth>=4.4.0,<5.0.0",
|
||||||
"cryptography>=43.0.4,<45.0.0",
|
"cryptography>=39.0.0,<45.0.0",
|
||||||
]
|
]
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user