Bugfix: Wrong LV Id on Template copy

This commit is contained in:
cgfhtw
2022-06-14 09:11:04 +02:00
parent aa8452682d
commit e83b1a6ee9
+1
View File
@@ -1180,6 +1180,7 @@ function saveJsondataFromTree(nodeId, studienplan_id, studienplan_lehrveranstalt
{
if(d.error!==undefined && d.error=='false')
{
node.attr("lvid", d.result[0].lehrveranstaltung_id);
node.attr("studienplan_lehrveranstaltung_id", d.result[0].studienplan_lehrveranstaltung_id);
node.attr("id", d.result[0].studienplan_lehrveranstaltung_id);
$("#jsonData").html(d);