diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java @ 888:d6b88f8f88dd

Fix issue flys/issue311 (i18n crossection). flys-client/trunk@2726 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 14 Sep 2011 08:00:56 +0000
parents 65204f30877b
children c87500c42c5d
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java	Tue Sep 13 16:51:26 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java	Wed Sep 14 08:00:56 2011 +0000
@@ -28,7 +28,6 @@
 import de.intevation.flys.client.shared.model.FacetRecord;
 
 
-
 /**
  * ThemePanel much like ChartThemePanel, but shows an "Actions" column,
  * needed for interaction in the CrossSection Charts.
@@ -64,7 +63,7 @@
 
                     String fieldName = this.getFieldName(colNum);
 
-                    if (fieldName.equals("actions")) {
+                    if (fieldName.equals(GRID_FIELD_ACTIONS)) {
                         HLayout recordCanvas = new HLayout(3);
                         recordCanvas.setHeight(22);
                         recordCanvas.setAlign(Alignment.CENTER);

http://dive4elements.wald.intevation.org