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