=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/dxf2MetaDataExport.vm' --- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/dxf2MetaDataExport.vm 2013-03-14 18:14:45 +0000 +++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/dxf2MetaDataExport.vm 2013-03-21 12:17:21 +0000 @@ -15,6 +15,46 @@ function exportMetaData() { + if( $( '#dataSets' ).is(':checked')) + { + $( '#sections' ).attr('checked', true); + } + else + { + $( '#sections' ).attr('checked', false); + } + + if( $( '#categories' ).is(':checked')) + { + $( '#categoryCombos' ).attr('checked', true); + $( '#categoryOptionCombos' ).attr('checked', true); + $( '#categoryOptions' ).attr('checked', true); + } + else + { + $( '#categoryCombos' ).attr( 'checked', false ); + $( '#categoryOptionCombos' ).attr('checked', false); + $( '#categoryOptions' ).attr('checked', false); + } + + if( $( '#mapLegendSets' ).is(':checked') ) + { + $( '#mapLegends' ).attr('checked', true); + } + else + { + $( '#mapLegends' ).attr('checked', false); + } + + if( $( '#maps' ).is(':checked') ) + { + $( '#mapViews' ).attr('checked', true); + } + else + { + $( '#mapViews' ).attr('checked', false); + } + var url = "../api/metaData"; var format = $("#format").val(); var compression = $("#compression").val(); @@ -42,10 +82,44 @@
+ + + + + + +
- #foreach( $key in $exportClasses.keySet() ) -
- #end +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+