[PATCH 1 of 2] Fixed multi period panel in fix analysis

Wald Commits scm-commit at wald.intevation.org
Fri Sep 12 08:42:54 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1410503950 -7200
# Node ID 229fce4a1d3e7f59e2ba9ecfe0cbf99e4ef37131
# Parent  48d4921665e30014e52271b0228d85e4655d1f45
Fixed multi period panel in fix analysis.

diff -r 48d4921665e3 -r 229fce4a1d3e gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixMultiPeriodPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixMultiPeriodPanel.java	Thu Sep 11 17:37:03 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixMultiPeriodPanel.java	Fri Sep 12 08:39:10 2014 +0200
@@ -70,8 +70,8 @@
 
         add.addClickHandler(new ClickHandler() {
             public void onClick(ClickEvent ce) {
-                Date f = inputPanel.getFromDate();
-                Date t = inputPanel.getToDate();
+                Date f = inputPanel.getValue().getStartDate();
+                Date t = inputPanel.getValue().getEndDate();
                 if (f == null || t == null) {
                     return;
                 }


More information about the Dive4Elements-commits mailing list