=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseMetaData.vm' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseMetaData.vm 2015-09-17 05:52:20 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseMetaData.vm 2016-01-26 06:24:01 +0000 @@ -20,9 +20,7 @@ #set( $size = $dataElementsWithOptionSet.size() ) #foreach( $dataElement in $dataElementsWithOptionSet ) #set( $size2 = $dataElement.categoryCombo.getSortedOptionCombos().size() ) -#foreach( $option in $dataElement.categoryCombo.getSortedOptionCombos() ) -"${dataElement.uid}-${option.uid}":{"uid":"$encoder.jsonEncode( ${dataElement.optionSet.uid} )","v":${dataElement.optionSet.version}}#if( $velocityCount < $size2 ),#end -#end #if( $velocityCount < $size ),#end +#foreach( $option in $dataElement.categoryCombo.getSortedOptionCombos() )"${dataElement.uid}-${option.uid}":{"uid":"$encoder.jsonEncode( ${dataElement.optionSet.uid} )","v":${dataElement.optionSet.version}}#if( $velocityCount < $size2 ),#end#end #if( $velocityCount < $size ),#end #end }, "indicatorFormulas": {