1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-21 02:27:40 +00:00

Fix for #2097 (Quotes are now handled properly in UI-editable tables)

This commit is contained in:
Ozzie Isaacs
2021-08-26 18:03:59 +02:00
parent afa585eb65
commit d25cfb7499
3 changed files with 4 additions and 3 deletions

View File

@@ -610,6 +610,7 @@ function checkboxFormatter(value, row){
else
return '<input type="checkbox" class="chk" data-pk="' + row.id + '" data-name="' + this.field + '" onchange="checkboxChange(this, ' + row.id + ', \'' + this.name + '\', ' + this.column + ')">';
}
function singlecheckboxFormatter(value, row){
if(value)
return '<input type="checkbox" class="chk" data-pk="' + row.id + '" data-name="' + this.field + '" checked onchange="checkboxChange(this, ' + row.id + ', \'' + this.name + '\', 0)">';