Skip to content

Commit 0ea965a

Browse files
committed
row edit, boolean data type incorrect currently selected issue fix
1 parent 6dab41e commit 0ea965a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug-db/src/main/assets/debugDbHome/js/dataTables.altEditor.free.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
var option1Checked = "";
260260
var option2Checked = "checked";
261261
if (cellData.dataType == "boolean") {
262-
if(cellData.value) {
262+
if(JSON.parse(cellData.value)) {
263263
option1Checked = "checked";
264264
option2Checked = "";
265265
}

0 commit comments

Comments
 (0)