diff --git a/vilesci/lehre/studienordnung.js b/vilesci/lehre/studienordnung.js index 879af29af..c9d7e199e 100755 --- a/vilesci/lehre/studienordnung.js +++ b/vilesci/lehre/studienordnung.js @@ -1407,16 +1407,18 @@ function writeEctsSum(parent) } if($(parent).attr("rel") === "semester") { - var cells = $(parent).find(".jstree-grid-col-1"); + var cells = $(parent).children("ul").children(); + var sum = 0; - for(var j=1; j"; + + $(parent).children()[2].innerHTML = ""+sum+""; } } @@ -1427,14 +1429,14 @@ function writeOverallSum(root) { if(!$('#stplDetails').length) $("#treeData").append('
'); - var cells = $(root).find(".jstree-grid-col-1"); + var cells = $(root).children("ul").children(); var sum = 0; for(var i=0; i"+sum+"");