dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29902
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15176: Fixed bug - when to click Cancel button in Update TEI form, the previous page (dashboard/TEI list...
------------------------------------------------------------
revno: 15176
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-05-06 20:28:58 +0800
message:
Fixed bug - when to click Cancel button in Update TEI form, the previous page (dashboard/TEI list) is displayed properly
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/form.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js
--
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/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/form.js 2014-05-05 15:31:54 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/form.js 2014-05-06 12:28:58 +0000
@@ -154,7 +154,7 @@
if (statusSearching == 0) {
return;
} else if (statusSearching == 1) {
- showById('listTrackedEntityInstanceDiv');
+ showById('listEntityInstanceDiv');
}
}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js 2014-05-05 15:31:54 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js 2014-05-06 12:28:58 +0000
@@ -362,7 +362,7 @@
+ "'><img src='../images/enroll.png' alt='"
+ i18n_dashboard
+ "'></a>";
- table += "<a href=\"javascript:isDashboard=false;showUpdateTrackedEntityInstanceForm( '"
+ table += "<a href=\"javascript:isDashboard=false;statusSearching=3;showUpdateTrackedEntityInstanceForm( '"
+ uid
+ "' )\" title='"
+ i18n_edit_profile
@@ -535,7 +535,7 @@
} else if (statusSearching == 1) {
validateAdvancedSearch();
} else if (statusSearching == 3) {
- showById('listTrackedEntityInstanceDiv');
+ showById('listEntityInstanceDiv');
}
}