=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonPeriodTypes.vm' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonPeriodTypes.vm 2010-11-25 15:08:07 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonPeriodTypes.vm 2011-05-24 09:36:40 +0000 @@ -3,7 +3,8 @@ #foreach( $periodType in $object ) { "id": "$!{periodType.id}", - "name": "$!encoder.jsonEncode( $i18n.getString($periodType.name) )" + "name": "$!encoder.jsonEncode( $periodType.name )", + "displayName": "$!encoder.jsonEncode( $i18n.getString($periodType.name) )" }#if( $velocityCount < $size ),#end #end ] } === modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2011-05-23 16:04:37 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2011-05-24 09:36:40 +0000 @@ -137,7 +137,7 @@ var periodTypeStore = new Ext.data.JsonStore({ url: G.conf.path_mapping + 'getAllPeriodTypes' + G.conf.type, root: 'periodTypes', - fields: ['name'], + fields: ['name','displayName'], autoLoad: false, isLoaded: false, listeners: { === modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js 2011-05-20 16:00:08 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js 2011-05-24 09:36:40 +0000 @@ -476,7 +476,7 @@ typeAhead: true, editable: false, valueField: 'name', - displayField: 'name', + displayField: 'displayName', mode: 'remote', forceSelection: true, triggerAction: 'all',