← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4762: Showed details - Case entry - Completed.

 

------------------------------------------------------------
revno: 4762
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-09-29 14:43:23 +0700
message:
  Showed details - Case entry - Completed.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.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/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2011-09-28 04:02:30 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2011-09-29 07:43:23 +0000
@@ -101,13 +101,12 @@
 function showPatientDetails( patientId )
 {
     $('#detailsArea').load("getPatientDetails.action", 
-		{
-			id:patientId
-		}
-		, function( html ){
-			setInnerHTML( 'detailsArea', html );
-			showDetails();
-		});
+	{
+		id:patientId
+	}
+	, function(){
+		showDetails();
+	});
 }
 
 // -----------------------------------------------------------------------------