Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java @ 895:9acbd3f98262
Update the collection view title when the project name changes.
(Issue166)
flys-client/trunk@2740 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 14 Sep 2011 11:36:06 +0000 |
parents | 2c9c3448e499 |
children | fe23bbf0ea11 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Wed Sep 14 11:07:19 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Wed Sep 14 11:36:06 2011 +0000 @@ -425,7 +425,7 @@ * * @param c The Collection with a new name. */ - protected void updateCollectionName(Collection c) { + protected void updateCollectionName(final Collection c) { if (c == null) { return; } @@ -448,6 +448,7 @@ public void onSuccess(Void v) { updateUserCollections(); + flys.getWorkspace().updateTitle(c.identifier(), c.getName()); } }); }