← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 415: Map organisationUnitLevel output bug fixed.

 

------------------------------------------------------------
revno: 415
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-07-06 03:22:57 +0200
message:
  Map organisationUnitLevel output bug fixed.
modified:
  gis/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonMap.vm

=== modified file 'gis/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonMap.vm'
--- gis/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonMap.vm	2009-06-25 11:18:23 +0000
+++ gis/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonMap.vm	2009-07-06 01:22:57 +0000
@@ -4,7 +4,7 @@
     "name": "$!encoder.jsEncode( ${object.name} )",
     "mapLayerPath": "$!encoder.jsEncode( ${object.mapLayerPath} )",
     "organisationUnit": "$!encoder.jsEncode( ${object.organisationUnit.name} )",
-    "organisationUnitLevel": $!{object.organisationUnitLevel.level},
+    "organisationUnitLevel": "$!{object.organisationUnitLevel.level}",
     "uniqueColumn": "$!encoder.jsEncode( ${object.uniqueColumn} )",
     "nameColumn": "$!encoder.jsEncode( ${object.nameColumn} )",
     "longitude": "$!encoder.jsEncode( ${object.longitude} )",



--
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.