dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00789
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 223: Minor fixes.
------------------------------------------------------------
revno: 223
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-04-22 15:08:50 +0200
message:
Minor fixes.
modified:
gis/dhis-web-mapping/src/main/webapp/demos/geostat/geostat.js
=== modified file 'gis/dhis-web-mapping/src/main/webapp/demos/geostat/geostat.js'
--- gis/dhis-web-mapping/src/main/webapp/demos/geostat/geostat.js 2009-04-22 13:00:15 +0000
+++ gis/dhis-web-mapping/src/main/webapp/demos/geostat/geostat.js 2009-04-22 13:08:50 +0000
@@ -521,7 +521,7 @@
shapefilePanel = new Ext.Panel({
id: 'shapefile_p',
- title: 'Register shapefiles',
+ title: 'Register shape files',
items:
[
{
@@ -537,21 +537,21 @@
var em_b = Ext.getCmp('editmap_b');
var dm_b = Ext.getCmp('deletemap_b');
- if (tab.id == 0)
+ if (tab.id == 'map0')
{
nm_b.setVisible(true);
em_b.setVisible(false);
dm_b.setVisible(false);
}
- else if (tab.id == 1)
+ else if (tab.id == 'map1')
{
nm_b.setVisible(false);
em_b.setVisible(true);
dm_b.setVisible(false);
}
- else if (tab.id == 2)
+ else if (tab.id == 'map2')
{
nm_b.setVisible(false);
em_b.setVisible(false);
@@ -563,7 +563,7 @@
[
{
title:'New map',
- id: '0',
+ id: 'map0',
items:
[
newMapPanel
@@ -572,8 +572,7 @@
{
title:'Edit map',
- id: '1',
- deferredRender: false,
+ id: 'map1',
items:
[
editMapPanel
@@ -582,8 +581,7 @@
{
title:'Delete map',
- id: '2',
- deferredRender: false,
+ id: 'map2',
items:
[
deleteMapPanel
@@ -602,9 +600,6 @@
]
});
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
var legendSetNameTextField = new Ext.form.TextField({
id: 'legendSetName_tf',
emptyText: 'Required',
@@ -834,13 +829,13 @@
var nl_b = Ext.getCmp('newlegendset_b');
var dl_b = Ext.getCmp('deletelegendset_b');
- if (tab.id == 0)
+ if (tab.id == 'legendset0')
{
nl_b.setVisible(true);
dl_b.setVisible(false);
}
- else if (tab.id == 1)
+ else if (tab.id == 'legendset1')
{
nl_b.setVisible(false);
dl_b.setVisible(true);
@@ -851,7 +846,7 @@
[
{
title:'New legend set',
- id: '0',
+ id: 'legendset0',
items:
[
newLegendSetPanel
@@ -859,9 +854,8 @@
},
{
- title:'Edit legend set',
- id: '1',
- deferredRender: false,
+ title:'Delete legend set',
+ id: 'legendset1',
items:
[
deleteLegendSetPanel
--
Trunk
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.