From fcb657307a8e868e5156a4dc0ae81d511ed01da3 Mon Sep 17 00:00:00 2001 From: oesi Date: Mon, 16 Jan 2017 14:22:16 +0100 Subject: [PATCH] =?UTF-8?q?Studienordnung=20im=20Vilesci=20z=C3=A4hlt=20nu?= =?UTF-8?q?r=20noch=20die=20ECTS=20der=201.=20Ebene=20zusammen.=20ECTS=20d?= =?UTF-8?q?er=20LVs=20unterhalb=20von=20Modulen=20werden=20bei=20der=20Sum?= =?UTF-8?q?me=20nicht=20mehr=20ber=C3=BCcksichtigt=20da=20sonst=20falsche?= =?UTF-8?q?=20Summen=20gebildet=20werden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vilesci/lehre/studienordnung.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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+"");