Index: schedule/Module/control.php
===================================================================
--- schedule/Module/control.php	(revision 17457)
+++ schedule/Module/control.php	(revision 17458)
@@ -324,9 +324,6 @@
 		$date_time = date('H:i:s',$timestamp);
 		$prev_time[$cnt3]= $date_time;
-
-	while($rows = mysql_fetch_array($fetch))
-	{
-			?>
-			$('#save').attr('value','UPDATE');
+?>
+$('#save').attr('value','UPDATE');
 			var targetView = document.getElementById("Data");
 			// CREATE ELEMENT
@@ -381,5 +378,9 @@
 			var newtr<?php echo $cnt; ?> = document.createElement("tr");
 				newtr<?php echo $cnt; ?>.setAttribute('class','tr');
-			
+		
+	<?php
+	while($rows = mysql_fetch_array($fetch))
+	{
+	?>
 			var newtd_c2 = document.createElement("td");
 				newtd_c2.setAttribute("width","138");
