Ansicht wird neu geladen wenn eine kompatible LVA angelegt oder gelöscht wird

This commit is contained in:
Nikolaus Krondraf
2014-11-05 12:30:08 +00:00
parent 88b542338e
commit e494a66603
+4 -18
View File
@@ -184,15 +184,8 @@ if (!$db = new basis_db())
{
alert(data.errormsg);
}
if($.isFunction("loadLVKompatibilitaet"))
{
loadLVKompatibilitaet(lehrveranstaltung_id);
}
else
{
var iframe = parent.document.getElementById("lv_detail");
iframe.src = "lehrveranstaltung_kompatibel.php?lehrveranstaltung_id="+lehrveranstaltung_id+"&type=edit";
}
location.reload();
}).error(function(data)
{
alert(data.responseText);
@@ -219,15 +212,8 @@ if (!$db = new basis_db())
{
alert(data.errormsg);
}
if($.isFunction("loadLVKompatibilitaet"))
{
loadLVKompatibilitaet(lehrveranstaltung_id);
}
else
{
var iframe = parent.document.getElementById("lv_detail");
iframe.src = "lehrveranstaltung_kompatibel.php?lehrveranstaltung_id="+lehrveranstaltung_id+"&type=edit";
}
location.reload();
}).error(function(data)
{
alert(data.responseText);