=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-07-22 13:27:33 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-07-22 13:30:31 +0000 @@ -17,8 +17,9 @@ // Init - var gis = GIS.core.getInstance(); - GIS.app.instances = [gis]; + gis = GIS.core.getInstance(); + + GIS.core.instances = [gis]; GIS.app.getInits = function(r) { var init = Ext.decode(r.responseText); @@ -5311,7 +5312,6 @@ GIS.core.createSelectHandlers(gis, layer); gis.viewport = createViewport(); - gis.viewport.gis = gis; }(); };