diff --git a/content/fasDBDML.php b/content/fasDBDML.php
index 0e5ad4f5a..da3bb60f4 100644
--- a/content/fasDBDML.php
+++ b/content/fasDBDML.php
@@ -582,8 +582,16 @@ if(!$error)
}
else
{
- $return = false;
- $errormsg = 'Fehler: '.$variable->errormsg;
+ if($variable->errormsg=='')
+ {
+ $return = true;
+ $data = '';
+ }
+ else
+ {
+ $return = false;
+ $errormsg = 'Fehler: '.$variable->errormsg;
+ }
}
}
else
diff --git a/content/tempus.js.php b/content/tempus.js.php
index 64c66ae2d..ed27b118b 100644
--- a/content/tempus.js.php
+++ b/content/tempus.js.php
@@ -90,10 +90,17 @@ function onLoad()
//wenn zb ein IFrame geladen wird
onLoad=function() {return false};
+ if(document.getElementById('statusbarpanel-ignore_kollision'))
+ {
+ // Anzeige von DBTable und Ignorekoll. aktualisieren
+ updateignorekollision();
+ updatedbstpltable();
+ }
+
//Notizen des Users laden
notiz = document.getElementById('box-notizen');
- notiz.LoadNotizTree('','','','','','','', getUsername(),'');
-
+ if(notiz)
+ notiz.LoadNotizTree('','','','','','','', getUsername(),'');
}
catch(e)
{
@@ -294,7 +301,7 @@ function updateignorekollision()
if(getvariable('ignore_kollision')=='true')
{
panel.label='Kollisionscheck AUS';
- panel.style.backgroundColor='red';
+ panel.style.backgroundColor='#FF0000';
panel.style.MozAppearance = "none"
document.getElementById('menu-prefs-ignore_kollision').setAttribute('checked','true');
}
@@ -322,7 +329,7 @@ function updatedbstpltable()
}
else
{
- panel.style.backgroundColor='transparent';
+ panel.style.backgroundColor='';
panel.style.MozAppearance = "none"
}
}
@@ -463,14 +470,6 @@ function UnDo(log_id, bezeichnung)
}
}
-// ****
-// * Oeffnet die ToDoListe fuers Tempus
-// ****
-function HelpOpenToDo()
-{
- window.open('ToDo_Tempus.html','ToDo');
-}
-
// ****
// * Zeigt das Fenster zur Kollisionspruefung auf Studentenebene an
// ****
diff --git a/content/tempus.xul.php b/content/tempus.xul.php
index 160ab0c84..d1dcc514b 100644
--- a/content/tempus.xul.php
+++ b/content/tempus.xul.php
@@ -79,7 +79,6 @@ echo '';
-
@@ -264,12 +263,6 @@ echo '';
label = "&menu-help-manual.label;"
command = "menu-help-manual:command"
accesskey = "&menu-help-manual.accesskey;"/>
-
@@ -316,7 +309,7 @@ echo '';
?>
- oncommand="updateignorekollision()"/>
+ oncommand="updateignorekollision()"/>