=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2015-04-08 10:59:12 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2015-04-10 03:20:41 +0000 @@ -74,6 +74,9 @@ // Indicates whether current form is multi org unit dhis2.de.multiOrganisationUnit = false; +// Indicates whether multi org unit is enabled on instance +dhis2.de.multiOrganisationUnitEnabled = false; + // "organisationUnits" object inherited from ouwt.js // Constants @@ -234,6 +237,7 @@ async: false, type: 'GET', success: function( data ) { + dhis2.de.multiOrganisationUnitEnabled = data; selection.setIncludeChildren(data); } });