← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8275: [mobile] fix the incomplete action in tracking form

 

------------------------------------------------------------
revno: 8275
committer: Long <Long@Long-Laptop>
branch nick: dhis2
timestamp: Thu 2012-09-27 11:28:53 +0700
message:
  [mobile] fix the incomplete action in tracking form
modified:
  dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/namebased/completedProgramStageForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/namebased/completedProgramStageForm.vm'
--- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/namebased/completedProgramStageForm.vm	2012-09-17 09:33:45 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/namebased/completedProgramStageForm.vm	2012-09-27 04:28:53 +0000
@@ -11,7 +11,7 @@
 </div>	
 #end
 
-<form action="saveProgramStageForm.action" method="POST">
+<form action="showProgramStageForm.action" method="POST">
 
 <input type="hidden" value=$programStageInstanceId name="programStageInstanceId"/>
 <input type="hidden" value=$programStageId name="programStageId"/>
@@ -99,10 +99,15 @@
 					</select>
 				#end
 		#end
-				<input type="button" style="width:10%;color:black" value="Incomplete" onclick="window.location.href='showProgramStageForm.action?programId=$programId&programStageId=$programStageId&programStageInstanceId=$programStageInstanceId&patientId=$patientId&programInstanceId=$programInstanceId&orgUnitId=0'"/> 	
+				
 	</p>
 </div>
 
+<div class="header-box" align="center">
+	<p>
+		<input type="submit" style="width: 100%;" value="Incomplete" /> 	
+	</p>
+</div>
 </form>
 
 <div id="footer">