← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6278: (patient) Don't display program-stages into Add/Update Case aggregation query builder form.

 

------------------------------------------------------------
revno: 6278
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-03-16 15:57:31 +0700
message:
  (patient) Don't display program-stages into Add/Update Case aggregation query builder form.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.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-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js	2012-03-16 07:58:59 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js	2012-03-16 08:57:31 +0000
@@ -50,7 +50,7 @@
 		return;  
 	}
 
-	$.getJSON( 'getProgramStages.action', { programId:programId }, getProgramStagesCompleted );
+	$.get( 'getProgramStages.action', { programId:programId }, getProgramStagesCompleted, 'xml');
 }
 
 function getProgramStagesCompleted( programstageElement )
@@ -127,7 +127,7 @@
 	var programStage = document.getElementById( 'programStage' );
 	var psId = programStage.options[ programStage.selectedIndex ].value;
 	
-	$.getJSON( 'getPSDataElements.action', { psId:psId }, getPrgramStageDataElementsCompleted );
+	$.get( 'getPSDataElements.action', { psId:psId }, getPrgramStageDataElementsCompleted, 'xml' );
 }
 
 function getPrgramStageDataElementsCompleted( dataelementElement )