1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-26 04:47:40 +00:00

Upated testresult

Bugfix book table
This commit is contained in:
Ozzie Isaacs
2021-12-05 13:04:13 +01:00
parent cd5711e651
commit d217676350
11 changed files with 3226 additions and 585 deletions

View File

@@ -810,10 +810,11 @@ function checkboxChange(checkbox, userId, field, field_index) {
}
function BookCheckboxChange(checkbox, userId, field) {
var value = checkbox.checked ? "True" : "False";
$.ajax({
method: "post",
url: getPath() + "/ajax/editbooks/" + field,
data: {"pk": userId, "value": checkbox.checked},
data: {"pk": userId, "value": value},
error: function(data) {
handleListServerResponse([{type:"danger", message:data.responseText}])
},