1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-21 18:47:39 +00:00

Enabled editing of "number" custom_columns in books list

This commit is contained in:
Ozzie Isaacs
2021-10-16 20:46:16 +02:00
parent 6f1e78b9a3
commit 9d5e9b28ae
5 changed files with 41 additions and 16 deletions

View File

@@ -639,6 +639,10 @@ function singlecheckboxFormatter(value, row){
return '<input type="checkbox" class="chk" data-pk="' + row.id + '" data-name="' + this.field + '" onchange="checkboxChange(this, ' + row.id + ', \'' + this.name + '\', 0)">';
}
function ratingFormatter(value, row) {
return (value/2);
}
/* Do some hiding disabling after user list is loaded */
function loadSuccess() {