# HG changeset patch # User Ingo Weinzierl # Date 1308128482 0 # Node ID 830e4720caad30590bfe11a2e545a8d45e8b16d1 # Parent 6ebe845a9d3731b5d429156393f1df93a47df6ec Avoid GWT throwing warnings if no 'old' items exist for the parameter list. flys-client/trunk@2122 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 6ebe845a9d37 -r 830e4720caad flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Jun 15 08:28:54 2011 +0000 +++ b/flys-client/ChangeLog Wed Jun 15 09:01:22 2011 +0000 @@ -1,3 +1,9 @@ +2011-06-15 Ingo Weinzierl + + * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java: + Set height of the parameter panel that shows the "old" values to "1" if + no "old" value is existing. This avoids GWT throwing warning messages. + 2011-06-15 Ingo Weinzierl flys/issue117 (W-INFO: Wasserspiegellagenberechnung / Q-Eingabe) diff -r 6ebe845a9d37 -r 830e4720caad flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java Wed Jun 15 08:28:54 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java Wed Jun 15 09:01:22 2011 +0000 @@ -147,7 +147,7 @@ VLayout left = new VLayout(); if (old == null || old.size() == 0) { - oldItems.setHeight(0); + oldItems.setHeight(1); } oldItems.setMembersMargin(10);