From 998e906ad347a075b1123cd2fccd5de70e662ff3 Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 30 Sep 2019 14:20:05 +0200 Subject: [PATCH] Fixed: made row unselectable after updating the row Changed command to work with our actual jquery version. --- .../views/lehre/lehrauftrag/acceptLehrauftragData.php | 2 +- .../views/lehre/lehrauftrag/approveLehrauftragData.php | 2 +- application/views/lehre/lehrauftrag/lehrauftragData.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftragData.php b/application/views/lehre/lehrauftrag/acceptLehrauftragData.php index 8f8da50a1..5be75964a 100644 --- a/application/views/lehre/lehrauftrag/acceptLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/acceptLehrauftragData.php @@ -270,7 +270,7 @@ $filterWidgetArray = array( { // deselect and disable new selection of updated rows (approvement done) row.deselect(); - row.getElement().off("click"); + row.getElement().style["pointerEvents"] = "none"; }, rowFormatter:function(row) { diff --git a/application/views/lehre/lehrauftrag/approveLehrauftragData.php b/application/views/lehre/lehrauftrag/approveLehrauftragData.php index c799fc99e..b3672e9b4 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftragData.php @@ -269,7 +269,7 @@ $filterWidgetArray = array( { // deselect and disable new selection of updated rows (approvement done) row.deselect(); - row.getElement().off("click"); + row.getElement().style["pointerEvents"] = "none"; }, rowFormatter:function(row) { diff --git a/application/views/lehre/lehrauftrag/lehrauftragData.php b/application/views/lehre/lehrauftrag/lehrauftragData.php index 13f4fa251..030ccd7ca 100644 --- a/application/views/lehre/lehrauftrag/lehrauftragData.php +++ b/application/views/lehre/lehrauftrag/lehrauftragData.php @@ -267,9 +267,9 @@ $filterWidgetArray = array( }, rowUpdated:function(row) { - // deselect and disable new selection of updated rows (ordering done) - row.deselect(); - row.getElement().off("click"); + // deselect and disable new selection of updated rows (ordering done) + row.deselect(); + row.getElement().style["pointerEvents"] = "none"; }, rowFormatter:function(row) {