Index: /schedule/js/chart.js
===================================================================
--- /schedule/js/chart.js	(revision 16908)
+++ /schedule/js/chart.js	(revision 16909)
@@ -19,5 +19,5 @@
 	XML = new XMLHttpRequest();
 	//NOTE: previous errors on the request was caused by appending "http://www.fact-project.org"
-	XML.open(encodeURI("GET","/smartfact/index.php?source="+source[index]+"&time="+year+"-"+month+"-"+day,true));
+	XML.open("GET","/smartfact/index.php?source="+encodeURI(source[index])+"&time="+year+"-"+month+"-"+day,true);
 	dataSource = new Array();
 	XML.onload=function() 
