← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3682: Paging patientList into MultiDataEntry function by ajax.

 

------------------------------------------------------------
revno: 3682
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-05-20 16:30:54 +0700
message:
  Paging patientList into MultiDataEntry function by ajax.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/dataEntry.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/dataEntry.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/dataEntry.js	2011-05-20 09:23:01 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/dataEntry.js	2011-05-20 09:30:54 +0000
@@ -1519,6 +1519,7 @@
 		return;
 	}
 	
+	contentDiv = 'listPatient';
 	jQuery('#listPatient').load("getDataRecords.action",
 		{
 			programId:getFieldValue('programId'),
@@ -1530,17 +1531,6 @@
 		});
 }
 
-function selectPatientAttribute()
-{
-	var programLB = document.getElementById('programId');
-	var selPrgroamId = programLB.options[programLB.selectedIndex].value;
-
-	var patientAttributeLB = document.getElementById('patientAttributeId');
-	var patientAttributeId = patientAttributeLB.options[patientAttributeLB.selectedIndex].value;
-
-	window.location.href='getDataRecords.action?programId='+selPrgroamId+'&sortPatientAttributeId='+patientAttributeId;
-}
-
 function viewPrgramStageRecords( programStageInstanceId ) 
 {
 	var url = 'viewProgramStageRecords.action?programStageInstanceId=' + programStageInstanceId;