Minor fix: Corrected wrong hover color behaviour

Now the row stays green when accepted. Before it was still changing
color when hovering.
This commit is contained in:
Cris
2019-09-25 12:11:28 +02:00
committed by hainberg
parent 30c60881a7
commit 8685f5ed1b
@@ -231,8 +231,8 @@ $filterWidgetArray = array(
selectablePersistence:false, // deselect previously selected rows when table is filtered, sorted or paginated
selectableCheck: function(row)
{
// only allow to select bestellte Lehraufträge
return row.getData().bestellt != null && row.getData().erteilt != null;
// only allow to select bestellte && erteilte Lehraufträge
return (row.getData().bestellt != null && row.getData().erteilt != null && row.getData().akzeptiert == null);
},
rowUpdated:function(row)
{