Add background color to selected rows

issue8210
review273121002
This commit is contained in:
Cédric Krier
2019-03-22 18:20:32 +01:00
parent 2f96f858ae
commit 809a2f5050
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -64,6 +64,8 @@
white-space: nowrap;
}
.table-row-variant(selected, @state-info-bg);
.tab-form, .tab-board {
nav.toolbar.affix {
top: @navbar-height + 1px;
+5
View File
@@ -1168,6 +1168,11 @@
return;
}
this.selection.prop('checked', value);
if (value) {
this.el.addClass('selected');
} else {
this.el.removeClass('selected');
}
if (!value) {
this.tree.selection.prop('checked', false);
}