diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java @ 1612:66671b69c7ea

Added new UIProvider to enter mutliple locations (yet only input view textfield possible). flys-client/trunk@3979 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 08 Feb 2012 16:24:39 +0000
parents ddf43791244c
children 07c38d054f91
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java	Wed Feb 08 16:20:30 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationPanel.java	Wed Feb 08 16:24:39 2012 +0000
@@ -255,10 +255,6 @@
         double[] good   = new double[values.length];
         int      idx    = 0;
 
-        if (values.length > 1) {
-            errors.add(MSG.too_many_values());
-        }
-
         for (double value: values) {
             if (value < min || value > max) {
                 String tmp = MSG.error_validate_range();

http://dive4elements.wald.intevation.org