dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29592
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14963: Fixed bug - Exception thrown when to click Cancel button in Update TEI form.
------------------------------------------------------------
revno: 14963
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-04-24 21:30:51 +0800
message:
Fixed bug - Exception thrown when to click Cancel button in Update TEI form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updateTrackedEntityInstanceForm.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-caseentry/src/main/webapp/dhis-web-caseentry/updateTrackedEntityInstanceForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updateTrackedEntityInstanceForm.vm 2014-04-21 16:30:29 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updateTrackedEntityInstanceForm.vm 2014-04-24 13:30:51 +0000
@@ -38,7 +38,7 @@
• $i18n.getString( "update_tracked_entity_instance" )
</h3>
<p>
-<form id="entityInstanceForm" name="entityInstanceForm" action="updateTrackedEntityInstance.action" method="post" class="inputForm">
+<form id="entityInstanceForm" name="entityInstanceForm" action="updateTrackedEntityInstance.action" method="get" class="inputForm">
<input type="hidden" id="representativeId" name="representativeId" value='$!entityInstance.representative.id' />
<input type="hidden" id="relationshipTypeId" name='relationshipTypeId' value="$!relationship.relationshipType.id"/>
<input type="hidden" id="id" name="id" value="$entityInstance.id">
@@ -52,7 +52,7 @@
<td></td>
<td>
<input type="submit" class='button' value="$i18n.getString( 'update' )" />
- <input type='button' class="button" value="$i18n.getString( 'cancel' )" onclick="backPreviousPage( $entityInstance.id )" />
+ <input type='button' class="button" value="$i18n.getString( 'cancel' )" onclick="backPreviousPage( '$entityInstance.uid' )" />
</td>
</tr>
</table>