← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1867: javascript fixed bugs in excel reporting

 

------------------------------------------------------------
revno: 1867
committer: Tran Thanh Tri <Tran Thanh Tri@compaq>
branch nick: trunk
timestamp: Tue 2010-07-20 15:25:09 +0700
message:
  javascript fixed bugs in excel reporting
modified:
  dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/organisationChart.js
  dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/periodChart.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-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/organisationChart.js'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/organisationChart.js	2010-07-13 15:50:08 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/organisationChart.js	2010-07-20 08:25:09 +0000
@@ -76,7 +76,8 @@
 				'select': {
 					fn: function() {						
 						dataElementComboOc.reset();
-						dataElementsStoreOc.baseParams = { id: dataElementGroupComboOc.getValue() };											
+						dataElementsStoreOc.baseParams = { id: dataElementGroupComboOc.getValue() };		
+						dataElementsStoreOc.reload();					
 					},
 					scope: this
 				}
@@ -120,7 +121,8 @@
 				'select': {
 					fn: function() {						
 						indicatorsComboOc.reset();
-						indicatorsStoreOc.baseParams = { id: indicatorGroupComboOc.getValue() };													
+						indicatorsStoreOc.baseParams = { id: indicatorGroupComboOc.getValue() };	
+						indicatorsStoreOc.reload();	
 					},
 					scope: this
 				}

=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/periodChart.js'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/periodChart.js	2010-07-13 15:50:08 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/ext/periodChart.js	2010-07-20 08:25:09 +0000
@@ -86,7 +86,8 @@
 				'select': {
 					fn: function() {						
 						dataElementComboPc.reset();
-						dataElementsStorePc.baseParams = { id: dataElementGroupComboPc.getValue() };											
+						dataElementsStorePc.baseParams = { id: dataElementGroupComboPc.getValue() };	
+						dataElementsStorePc.reload();	
 					},
 					scope: this
 				}
@@ -130,7 +131,8 @@
 				'select': {
 					fn: function() {						
 						indicatorsComboPc.reset();
-						indicatorsStorePc.baseParams = { id: indicatorGroupComboPc.getValue() };													
+						indicatorsStorePc.baseParams = { id: indicatorGroupComboPc.getValue() };		
+						indicatorsStorePc.reload();	
 					},
 					scope: this
 				}