Merge authors:
  Jan Henrik Ă˜verland (janhenrik-overland)
------------------------------------------------------------
revno: 2949 [merge]
committer: Jan Henrik Overland <[email protected]>
branch nick: dhis2
timestamp: Tue 2011-03-01 11:54:15 +0100
message:
  View history bug fixed.
modified:
  
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/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-02-28 15:28:41 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Choropleth.js	2011-03-01 10:52:48 +0000
@@ -839,6 +839,7 @@
 					G.vars.topLevelUnit = {
 						id: rootNode.id,
 						name: rootNode.name,
+                        level: 1,
 						hasChildrenWithCoordinates: rootNode.hasChildrenWithCoordinates
 					};
 					
@@ -867,6 +868,7 @@
 										root: {
 											id: G.vars.topLevelUnit.id,
 											text: G.vars.topLevelUnit.name,
+                                            level: G.vars.topLevelUnit.level,
 											hasChildrenWithCoordinates: G.vars.topLevelUnit.hasChildrenWithCoordinates,
 											nodeType: 'async',
 											draggable: false,

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to