=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/responseSearch.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/responseSearch.vm 2012-09-19 11:41:19 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/responseSearch.vm 2013-03-22 08:23:51 +0000 @@ -1,6 +1,2 @@ #set( $size = $organisationUnits.size() ) -[ -#foreach( $unit in $organisationUnits ) -{"value":"$encoder.htmlEncode( $unit.name )"}#if( $velocityCount < $size ),#end -#end -] \ No newline at end of file +[#foreach( $unit in $organisationUnits ){"value":"$encoder.jsonEncode( $unit.name )"}#if( $velocityCount < $size ),#end#end] \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml' --- dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml 2013-03-20 07:28:44 +0000 +++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml 2013-03-22 08:23:51 +0000 @@ -251,9 +251,7 @@ - - /dhis-web-commons/ouwt/responseSearch.vm - + /dhis-web-commons/ouwt/responseSearch.vm plainTextError