From a70c3d7f92e736e9981bfed9dd173edc35ca7cfc Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass Date: Fri, 14 Apr 2023 14:04:17 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05350=20-=201:n=20in=20place=20edition,?= =?UTF-8?q?=20deleted=20object=20re-appears?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/links/links_direct_widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/links/links_direct_widget.js b/js/links/links_direct_widget.js index d0e134c7d..a343bdca8 100644 --- a/js/links/links_direct_widget.js +++ b/js/links/links_direct_widget.js @@ -529,7 +529,7 @@ $(function() } // Now remove the row from the table oRow = oCheckbox.closest('tr'); - oRow.remove(); + this.datatable.DataTable().row(oRow).remove().draw(); this._updateButtons(); this._updateTable(); }, @@ -566,7 +566,7 @@ $(function() } // Now remove the row from the table oRow = oCheckbox.closest('tr'); - oRow.remove(); + this.datatable.DataTable().row(oRow).remove().draw(); this._updateButtons(); this._updateTable(); },