1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-01 05:49:58 +00:00

Fix for #2537 (Impossible to set Denied Column Value from user table)

This commit is contained in:
Ozzie Isaacs 2022-09-20 19:10:45 +02:00
parent b4851e1d70
commit 071d19b8b3

View File

@ -548,11 +548,11 @@ $(function() {
}, },
}); });
$("#user-table").on("click-cell.bs.table", function (field, value, row, $element) { /*$("#user-table").on("click-cell.bs.table", function (field, value, row, $element) {
if (value === "denied_column_value") { if (value === "denied_column_value") {
confirmDialog("btndeluser", "GeneralDeleteModal", $element.id, user_handle); confirmDialog("btndeluser", "GeneralDeleteModal", $element.id, user_handle);
} }
}); });*/
$("#user-table").on("check.bs.table check-all.bs.table uncheck.bs.table uncheck-all.bs.table", $("#user-table").on("check.bs.table check-all.bs.table uncheck.bs.table uncheck-all.bs.table",
function (e, rowsAfter, rowsBefore) { function (e, rowsAfter, rowsBefore) {