Fehlerbehebungen Studienordnung

This commit is contained in:
Stefan Puraner
2013-12-11 11:07:23 +00:00
parent e92675ea8b
commit 167a784ec9
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -246,8 +246,8 @@ class lehrveranstaltung extends basis_db
//Select Befehl zusammenbauen
if (!is_null($lehreverzeichnis))
$qry .= " AND lehreverzeichnis=" . $this->db_add_param($lehreverzeichnis);
else
$qry .= " AND lehreverzeichnis<>'' ";
// else
// $qry .= " AND lehreverzeichnis<>'' ";
if (!is_null($semester) && $semester != '')
$qry .= " AND semester=" . $this->db_add_param($semester, FHC_INTEGER);
+9 -9
View File
@@ -268,7 +268,7 @@ function loadLehrveranstaltungSTPL(studienplan_id, bezeichnung, max_semester)
after: false,
before: false,
inside: true
}
};
}
},
grid: {
@@ -284,7 +284,7 @@ function loadLehrveranstaltungSTPL(studienplan_id, bezeichnung, max_semester)
"lv" : {
icon : {
image : "../../include/js/jstree/icons/lehrveranstaltung.png"
},
}
},
"semester" : {
@@ -292,7 +292,7 @@ function loadLehrveranstaltungSTPL(studienplan_id, bezeichnung, max_semester)
"modul" : {
icon : {
image : "../../include/js/jstree/icons/modul.png"
},
}
},
"lf" : {
}
@@ -704,19 +704,19 @@ function showLVTree(data)
"lv" : {
icon : {
image : "../../include/js/jstree/icons/lehrveranstaltung.png"
},
}
// max_children: 0
},
"modul" : {
icon : {
image : "../../include/js/jstree/icons/modul.png"
},
}
},
"lf" : {
icon : {
//image : "../../include/js/jstree/icons/lehrveranstaltung.png"
},
},
}
}
}
},
grid: {
@@ -930,7 +930,7 @@ function saveJsondataFromTree(nodeId, studienplan_id, studienplan_lehrveranstalt
"class": "studienplan",
"method": "saveStudienplanLehrveranstaltung",
"loaddata": JSON.stringify(loaddata),
"savedata": JSON.stringify(savedata),
"savedata": JSON.stringify(savedata)
}
}).success(function(d)
{
@@ -1073,7 +1073,7 @@ function saveStudienplan()
"class": "studienplan",
"method": "save",
"loaddata": JSON.stringify(loaddata),
"savedata": JSON.stringify(savedata),
"savedata": JSON.stringify(savedata)
},
success: function(data){
if(data.error=='true')