← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4760: Use dhis-loader for generating summary report.

 

------------------------------------------------------------
revno: 4760
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-09-29 14:02:02 +0700
message:
  Use dhis-loader for generating 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-09-29 06:14:57 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js	2011-09-29 07:02:02 +0000
@@ -77,14 +77,19 @@
 
 function loadGeneratedReport()
 {
-	lockScreen();
+	showLoader();
 
 	jQuery( "#contentDiv" ).load( "generateReport.action",
 	{
 		programId: getFieldValue( 'programId' ),
 		startDate: getFieldValue( 'startDate' ),
 		endDate: getFieldValue( 'endDate' )
-	}, function() { unLockScreen();hideById( 'message' );showById( 'contentDiv' );});
+	}, function() 
+	{ 
+		hideLoader();
+		hideById( 'message' );
+		showById( 'contentDiv' );
+	});
 }
 
 function viewRecords( programStageInstanceId )