From 86ff87651ee56006c873aa571fb471ef4019220e Mon Sep 17 00:00:00 2001 From: "b.ulrich" <b.ulrich@adito.de> Date: Mon, 21 Dec 2020 15:58:39 +0100 Subject: [PATCH] [Projekt: Entwicklung - xRM][TicketNr.: 1069161][Offeritem 2. Position nach delete fehlerhaft] --- process/OfferOrder_lib/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/OfferOrder_lib/process.js b/process/OfferOrder_lib/process.js index f33eba68fa..49477739fd 100644 --- a/process/OfferOrder_lib/process.js +++ b/process/OfferOrder_lib/process.js @@ -390,7 +390,7 @@ ItemUtils.prototype.getNextItemPosition = function(assignedTo, tree, ids) { } } else { if (ids.length > 0) { - maxPos[0] = this.ItemTree[ids[ids.length-1]].pos.split(".")[0]; + maxPos[0] = tree[ids[ids.length-1]].pos.split(".")[0]; } } maxPos[maxPos.length-1] = (Number(maxPos[maxPos.length-1]) + 1).toString(); -- GitLab