← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15627: Fixed bug - The orgunit name in Advanced search is displayed wrong.

 

------------------------------------------------------------
revno: 15627
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-06-11 21:19:09 +0800
message:
  Fixed bug - The orgunit name in Advanced search is displayed wrong.
modified:
  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/trackedEntityInstance.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js	2014-06-11 13:14:42 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/trackedEntityInstance.js	2014-06-11 13:19:09 +0000
@@ -19,6 +19,7 @@
 	setInnerHTML('entityInstanceDashboard', '');
 	setInnerHTML('editEntityInstanceDiv', '');
 	setFieldValue("orgunitName", orgUnitNames[0]);
+	setFieldValue("orgunitForSearch", orgUnitNames[0]);
 	setFieldValue("orgunitId", orgUnits[0]);
 	clearListById('program');
 	jQuery.get("getAllPrograms.action", {}, function(json) {