Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16503)
+++ schedule/Module/calendar.php	(revision 16504)
@@ -129,6 +129,7 @@
 							sourceData[index].push(rows[4]);
 							}
+							document.getElementById('data').innerHTML=sourceData[index];
 						}
-						document.getElementById('data').innerHTML=sourceData[index];
+						
 					}
 					xmlhttp[index].open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true);
