=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/orgUnitDistribution.js' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/orgUnitDistribution.js 2012-05-01 13:14:33 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/orgUnitDistribution.js 2012-07-26 08:12:17 +0000 @@ -8,6 +8,8 @@ return false; } + $('#reportButton').attr('disabled', true); + displayDiv( "loaderDiv", distributionDivs ); var groupSetId = $( "#groupSetId" ).val(); @@ -16,6 +18,8 @@ { displayDiv( "tableDiv", distributionDivs ); setTableStyles(); + + $('#reportButton').removeAttr('disabled'); } ); } @@ -26,9 +30,13 @@ return false; } + $('#chartButton').attr('disabled', true); + var groupSetId = $( "#groupSetId" ).val(); var url = "getOrgUnitDistribution.action?groupSetId=" + groupSetId + "&type=" + type + "&" + getDC(); window.location.href = url; + + $('#chartButton').removeAttr('disabled'); } function displayOrgUnitDistributionChart() === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewOrgUnitDistribution.vm' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewOrgUnitDistribution.vm 2012-04-16 14:54:22 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewOrgUnitDistribution.vm 2012-07-26 08:12:17 +0000 @@ -21,8 +21,8 @@ - - + + @@ -40,8 +40,8 @@ #end

- -

+ +