=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2014-10-07 10:55:39 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2014-10-08 10:09:37 +0000 @@ -3594,7 +3594,7 @@ xtype: 'container', html: GIS.i18n.add_legend, cls: 'gis-panel-html-title', - style: 'padding-left: 2px; margin-bottom: 3px' + style: 'padding-left: 3px; margin-bottom: 3px' }, { bodyStyle: 'background-color:#f1f1f1; border:1px solid #ccc; border-radius:1px; padding:' + legendBodyPadding + 'px', @@ -3639,7 +3639,7 @@ xtype: 'container', html: GIS.i18n.current_legends, cls: 'gis-panel-html-title', - style: 'padding-left: 2px; margin-bottom: 3px' + style: 'padding-left: 3px; margin-bottom: 3px' }, { xtype: 'container', @@ -3651,7 +3651,7 @@ }); if (id) { - legendStore.proxy.url = gis.init.contextPath + '/api/mapLegendSets/' + id + '.json?links=false&paging=false'; + legendStore.proxy.url = gis.init.contextPath + '/api/mapLegendSets/' + id + '.json?fields=mapLegends[id,name,startValue,endValue,color]'; legendStore.load(); legendSetName.setValue(legendSetStore.getById(id).data.name);