[PATCH 4 of 5] issue1393/SedLoadOffEpochPanel: Request the correct (off-epoch) data

Wald Commits scm-commit at wald.intevation.org
Wed Jul 31 11:26:39 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1375263354 -7200
# Node ID d56a19830e041bb7db2874c7b57b348baf56d9d2
# Parent  af70e3ab2e839a5a32bde5cf9dbab6868c919d24
issue1393/SedLoadOffEpochPanel: Request the correct (off-epoch) data
to show in inputhelper.

diff -r af70e3ab2e83 -r d56a19830e04 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadOffEpochPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadOffEpochPanel.java	Wed Jul 31 11:34:31 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadOffEpochPanel.java	Wed Jul 31 11:35:54 2013 +0200
@@ -59,6 +59,7 @@
         return root;
     }
 
+    /** Create layout for data entered previously. */
     @Override
     public Canvas createOld(DataList dataList) {
         HLayout layout = new HLayout();
@@ -165,7 +166,7 @@
         double[] km = artifact.getArtifactDescription().getKMRange();
         String river = artifact.getArtifactDescription().getRiver();
 
-        sedLoadInfoService.getSedimentLoadInfo(locale, river, "epoch", km[0], km[1],
+        sedLoadInfoService.getSedimentLoadInfo(locale, river, "off_epoch", km[0], km[1],
             new AsyncCallback<SedimentLoadInfoObject[]>() {
                 public void onFailure(Throwable caught) {
                     GWT.log("Could not receive sediment load informations.");


More information about the Dive4elements-commits mailing list