Skip to content
Snippets Groups Projects
Commit a0a76e18 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '1069161_FixOfferItemDelete' into '2020.2'

[Projekt: Entwicklung - xRM][TicketNr.: 1069161][Offeritem 2. Position nach delete fehlerhaft]

See merge request xrm/basic!535
parents 7f11e33a 86ff8765
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment