Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16292)
+++ schedule/Module/calendar.php	(revision 16293)
@@ -320,5 +320,5 @@
 								xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source)+"&time="+year+"-"+month+"-"+day,true);
 								xmlhttp.send();
-								$('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year);
+								
 							}
 								var chart = new Highcharts.Chart(options);
@@ -326,5 +326,5 @@
 									{
 										chart.addSeries({name:source[src], data:[]}); // created a series of data and add name of displayed source
-										for(var i=0;i<Timedat[src].length;i++)
+										for(var i=0;i<Timedata[src].length;i++)
 										{
 											
@@ -336,5 +336,5 @@
 										}
 									}
-								
+								$('#Graph').load('chart.php?day='+day+"&month="+month+"&year="+year);
 								
 								
