changeset 1525:27a2a065a963

Set the collection if all recommended artifacts are loaded or the collection has no recommended artifacts. flys-client/trunk@3713 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Jan 2012 08:54:56 +0000 (2012-01-19)
parents 487c3ff7e838
children 4a5e65551923
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jan 18 15:04:30 2012 +0000
+++ b/flys-client/ChangeLog	Thu Jan 19 08:54:56 2012 +0000
@@ -1,3 +1,9 @@
+2012-01-19  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/CollectionView.java:
+	  Set the collection if all recommended artifacts are loaded or the
+	  collection has no recommended artifacts.
+
 2012-01-18  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/shared/model/IntegerRangeData.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java	Wed Jan 18 15:04:30 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java	Thu Jan 19 08:54:56 2012 +0000
@@ -394,6 +394,9 @@
                         if  (!loaded) {
                             loadRecommendedArtifacts(recom);
                         }
+                        else {
+                            setCollection(newCollection);
+                        }
                     }
                 }
             );

http://dive4elements.wald.intevation.org