dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16097
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6033: (patient) Fill orgunit name into Reporting Unit field in Program Summary Report.
------------------------------------------------------------
revno: 6033
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-02-17 23:46:22 +0700
message:
(patient) Fill orgunit name into Reporting Unit field in Program Summary Report.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.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/report.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js 2011-12-22 05:33:49 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js 2012-02-17 16:46:22 +0000
@@ -1,6 +1,6 @@
isAjax = true;
-function organisationUnitSelected( orgUnits )
+function organisationUnitSelected( orgUnits, orgUnitNames )
{
showLoader();
setInnerHTML( 'contentDiv','' );
@@ -9,7 +9,7 @@
},
function( json )
{
- setFieldValue( 'orgunitname', json.organisationUnit );
+ setFieldValue( 'orgunitname', orgUnitNames[0] );
clearListById('programId');
if( json.programs.length == 0)