From 11df59da95643c2cc96294c73c322541026c5676 Mon Sep 17 00:00:00 2001 From: Arne Morken Date: Fri, 8 Dec 2023 16:13:26 +0100 Subject: [PATCH] Bugfix: addListEntry() did not work in local mode. --- view/anyView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/anyView.js b/view/anyView.js index cd5d58f..316b0f7 100644 --- a/view/anyView.js +++ b/view/anyView.js @@ -3654,6 +3654,7 @@ $.any.anyView.prototype.addListEntry = function (event) if (this.model.source != "remote") { let new_id = this.model.dataSearchNextId(null,type); if (new_id >= 0) { + row_id_str += "_"+new_id; this._addListEntry({ type: type, mode: "list", @@ -3663,6 +3664,7 @@ $.any.anyView.prototype.addListEntry = function (event) par_id: par_id, id_str: id_str, row_id_str: row_id_str, + table_div: table_div, filter: filter, }); }