=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2014-06-17 13:09:03 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2014-06-24 16:36:24 +0000 @@ -272,4 +272,5 @@ approval_entity=Approval entity approval_status=Approval status please_make_selection=Please make a selection below -id=Id \ No newline at end of file +id=Id +data_criteria=Data criteria === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm 2014-06-10 20:46:05 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataApprovalForm.vm 2014-06-24 16:36:24 +0000 @@ -65,7 +65,7 @@
- + === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm 2014-06-24 08:33:02 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm 2014-06-24 16:36:24 +0000 @@ -78,7 +78,7 @@

$i18n.getString( "dataset_report" ) #openHelp( "dataset_reports" )

- + === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataApproval.js' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataApproval.js 2014-06-10 20:46:05 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataApproval.js 2014-06-24 16:36:24 +0000 @@ -143,7 +143,7 @@ } hideHeaderMessage(); - $( "#criteria" ).hide( "fast" ); + dhis2.appr.hideCriteria(); $( "#content" ).hide( "fast" ); showLoader(); @@ -157,6 +157,12 @@ } ); } +dhis2.appr.hideCriteria = function() +{ + $( "#criteria" ).hide( "fast" ); + $( "#dataButton" ).removeAttr( "disabled" ); +} + //------------------------------------------------------------------------------ // Approval //------------------------------------------------------------------------------ === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js 2014-06-17 13:09:03 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js 2014-06-24 16:36:24 +0000 @@ -311,11 +311,13 @@ dhis2.dsr.showCriteria = function() { $( "#criteria" ).show( "fast" ); + $( "#dataButton" ).attr( "disabled", "disabled" ); } dhis2.dsr.hideCriteria = function() { $( "#criteria" ).hide( "fast" ); + $( "#dataButton" ).removeAttr( "disabled" ); } dhis2.dsr.showContent = function()