From 8685f5ed1b60a374c798aa9dfbe6791cbc7b4a63 Mon Sep 17 00:00:00 2001 From: Cris Date: Wed, 25 Sep 2019 12:11:28 +0200 Subject: [PATCH] Minor fix: Corrected wrong hover color behaviour Now the row stays green when accepted. Before it was still changing color when hovering. --- application/views/lehre/lehrauftrag/acceptLehrauftragData.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftragData.php b/application/views/lehre/lehrauftrag/acceptLehrauftragData.php index 6e3b17615..713698239 100644 --- a/application/views/lehre/lehrauftrag/acceptLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/acceptLehrauftragData.php @@ -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) {