=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/table.js' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/table.js 2012-04-07 14:06:33 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/table.js 2012-06-10 15:27:52 +0000 @@ -60,7 +60,7 @@ function validateCollections() { - if ( isChecked( "regression" ) && document.getElementById( "selectedOrganisationUnits" ).options.length > 1 ) + if ( isChecked( "regression" ) && selectionTreeSelection.getSelected().length > 1 ) { setMessage( i18n_cannot_include_more_organisation_unit_regression );