dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05469
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1788: (GIS) Mapvalues json response minified.
------------------------------------------------------------
revno: 1788
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: gis
timestamp: Mon 2010-04-19 17:34:23 +0200
message:
(GIS) Mapvalues json response minified.
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/resources/struts.xml
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/resources/struts.xml 2010-04-19 13:48:35 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/resources/struts.xml 2010-04-19 15:34:23 +0000
@@ -70,7 +70,7 @@
<action name="getMapValuesByMap"
class="org.hisp.dhis.mapping.action.GetMapValuesByMapAction">
<result name="success" type="velocity-json">
- /dhis-web-mapping/jsonAggregatedMapValues.vm</result>
+ /dhis-web-mapping/jsonminAggregatedMapValues.vm</result>
</action>
<action name="getMapValuesByLevel"
=== 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-04-19 11:09:56 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js 2010-04-19 15:34:23 +0000
@@ -311,8 +311,7 @@
url: path + 'setMapSourceTypeUserSetting' + type,
method: 'POST',
params: { mapSourceType: mst },
-
- success: function( responseObject ) {
+ success: function(r) {
Ext.getCmp('map_cb').getStore().reload();
Ext.getCmp('maps_cb').getStore().reload();