← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 77: Minor fixes.

 

------------------------------------------------------------
revno: 77
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Tue 2009-03-17 18:32:33 +0530
message:
  Minor fixes.
modified:
  gis/dhis-gis-geostat/demos/geostat/config.js
  gis/dhis-gis-geostat/demos/geostat/geostat.js
  gis/dhis-gis-geostat/demos/geostat/index.html
  gis/dhis-gis-geostat/mfbase/mapfish/widgets/geostat/Choropleth.js

=== modified file 'gis/dhis-gis-geostat/demos/geostat/config.js'
--- gis/dhis-gis-geostat/demos/geostat/config.js	2009-03-17 11:39:40 +0000
+++ gis/dhis-gis-geostat/demos/geostat/config.js	2009-03-17 13:02:33 +0000
@@ -56,7 +56,7 @@
 // LAYOUT
 west_width = 270; // viewport west
 north_height = 0;
-south_height = 80; // viewport south
+south_height = 70; // viewport south
 
 gridpanel_width = 255;
 combo_width = 150;
\ No newline at end of file

=== modified file 'gis/dhis-gis-geostat/demos/geostat/geostat.js'
--- gis/dhis-gis-geostat/demos/geostat/geostat.js	2009-03-17 11:39:40 +0000
+++ gis/dhis-gis-geostat/demos/geostat/geostat.js	2009-03-17 13:02:33 +0000
@@ -431,8 +431,6 @@
     var periodId = Ext.getCmp('period_cb').getValue();
     var level = Ext.getCmp('level_cb').getValue();
     
-alert(    indicatorId + "\n" + periodId + "\n" + level);
-
     var url = 'http://localhost:' + localhost_port + '/dhis-webservice/getMapValues.service';
     format = 'json';
 
@@ -507,8 +505,6 @@
     var data = Ext.util.JSON.decode(responseText);
     var dataLength = data.mapvalues.length;
     
-alert(featuresLength + "\n" + dataLength);    
-
     for (var j=0; j < featuresLength; j++) 
     {
         features[j].attributes["value"] = 0;

=== modified file 'gis/dhis-gis-geostat/demos/geostat/index.html'
--- gis/dhis-gis-geostat/demos/geostat/index.html	2009-03-17 11:39:40 +0000
+++ gis/dhis-gis-geostat/demos/geostat/index.html	2009-03-17 13:02:33 +0000
@@ -51,7 +51,7 @@
     <div id="olmap"></div>
     
     <div id="south">
-        <p>The results are displayed here when you move your mouse on the map.</p>
+        <p>More information may be displayed here.</p>
     </div>
     
     <div id="position">

=== modified file 'gis/dhis-gis-geostat/mfbase/mapfish/widgets/geostat/Choropleth.js'
--- gis/dhis-gis-geostat/mfbase/mapfish/widgets/geostat/Choropleth.js	2009-03-17 11:39:40 +0000
+++ gis/dhis-gis-geostat/mfbase/mapfish/widgets/geostat/Choropleth.js	2009-03-17 13:02:33 +0000
@@ -145,8 +145,6 @@
     
     selectedValue : false,
     
-    gridPanelTitle : '',
-    
     
     initComponent : function() {
     
@@ -537,14 +535,10 @@
         {
             xtype: 'grid',
             id: 'grid_gp',
-            title: this.gridPanelTitle,
             store: gridStore,
-            columns: [
-                { id: 'name', dataIndex: 'name', sortable: true, width: gridpanel_width-2 }
-            ],
+            columns: [ { header: 'Organisation units ', id: 'name', dataIndex: 'name', sortable: true } ],
             autoHeight: true,
             autoScroll: true,
-            height: 100,
             width: gridpanel_width,
             view: gridView
         }
@@ -553,6 +547,10 @@
 
         mapfish.widgets.geostat.Choropleth.superclass.initComponent.apply(this);
     },
+    
+    
+    
+    
 
     setUrl: function(url, isDrillDown) {
     



--

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.