Index: schedule/function/function.php
===================================================================
--- schedule/function/function.php	(revision 15709)
+++ schedule/function/function.php	(revision 15774)
@@ -6,5 +6,7 @@
 	var year = currentDate.getFullYear();
 	var fullday=day+'-'+month+'-'+year;
+	
 	<?php
+	
 		$cntsource=mysql_query("SELECT COUNT(*) as `SourceID` FROM source");
 		$rowcnt=mysql_fetch_array($cntsource);
@@ -36,7 +38,5 @@
 		window.location = 'Transaction/insert.php?Time='+selectedTime+'&Source='+selectedSource+'&measure='+selectedMeasurement+'&Data='+InputValue+'&Date='+fullday;
 	});
-	$('#loadprev').click(function(){
-		addSeries(chart);
-	});
+	
 	});
  </script>
