=== 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 2010-08-26 10:20:31 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js 2010-08-26 11:01:44 +0000 @@ -197,6 +197,7 @@ Ext.getCmp('mapview_cb').setValue(MAPVIEW.id); if (MAPVIEW.mapLegendType == map_legend_type_automatic) { + LEGEND[thematicMap].type = map_legend_type_automatic; Ext.getCmp('maplegendtype_cb').setValue(map_legend_type_automatic); Ext.getCmp('numClasses_cb').setValue(MAPVIEW.classes); Ext.getCmp('colorA_cf').setValue(MAPVIEW.colorLow); @@ -501,6 +502,7 @@ } if (MAPVIEW.mapLegendType == map_legend_type_automatic) { + LEGEND[thematicMap].type = map_legend_type_automatic; Ext.getCmp('maplegendtype_cb').setValue(map_legend_type_automatic); Ext.getCmp('numClasses_cb').setValue(MAPVIEW.classes); Ext.getCmp('colorA_cf').setValue(MAPVIEW.colorLow);