Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 1539:28e514c968d6
Suppress onCollectionChange event if an artifact is added to the collection
to avoid loading maps twice.
flys-client/trunk@3757 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 24 Jan 2012 14:58:48 +0000 |
parents | 27a2a065a963 |
children | 964e90c5b4c1 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Jan 24 12:43:06 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Jan 24 14:58:48 2012 +0000 @@ -596,7 +596,7 @@ public void onSuccess(Collection newCollection) { GWT.log("Successfully added artifacts."); - setCollection(newCollection); + setCollection(newCollection, true); } } );