[PATCH 1 of 2] Fixed date range panel in fix analysis

Wald Commits scm-commit at wald.intevation.org
Thu Sep 11 11:23:16 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1410427358 -7200
# Node ID 5b87aaac8447d65c15809330d31df0404b208f81
# Parent  b6d54b946f4c7504abd1cbb89784fcf61a189152
Fixed date range panel in fix analysis.

diff -r b6d54b946f4c -r 5b87aaac8447 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixPeriodPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixPeriodPanel.java	Wed Sep 10 10:02:46 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixPeriodPanel.java	Thu Sep 11 11:22:38 2014 +0200
@@ -214,8 +214,8 @@
     }
 
     protected boolean saveDateValues() {
-        Date st = inputPanel.getFromDate();
-        Date en = inputPanel.getToDate();
+        Date st = inputPanel.getValue().getStartDate();
+        Date en = inputPanel.getValue().getEndDate();
         if (st == null || en == null) {
             SC.warn(MESSAGES.error_wrong_date());
             return false;


More information about the Dive4Elements-commits mailing list