Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 87:c8cd1b918901
Bugfix: Step back will remove duplicated output tab and an extended chart image URL bypasses the browser cache.
flys-client/trunk@1599 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 17:04:17 +0000 |
parents | b8acb6a615f2 |
children | f8c240f28c2a |
comparison
equal
deleted
inserted
replaced
86:eae92a05282e | 87:c8cd1b918901 |
---|---|
248 Artifact art = event.getNewValue(); | 248 Artifact art = event.getNewValue(); |
249 ArtifactDescription desc = art.getArtifactDescription(); | 249 ArtifactDescription desc = art.getArtifactDescription(); |
250 OutputMode[] outs = desc.getOutputModes(); | 250 OutputMode[] outs = desc.getOutputModes(); |
251 | 251 |
252 setArtifact(art); | 252 setArtifact(art); |
253 clearOutputTabs(); | |
253 | 254 |
254 if (outs != null) { | 255 if (outs != null) { |
255 User user = getFlys().getCurrentUser(); | 256 User user = getFlys().getCurrentUser(); |
256 createNewCollection(user.identifier()); | 257 createNewCollection(user.identifier()); |
257 } | 258 } |
258 else { | 259 else { |
259 clearOutputTabs(); | |
260 updateView(); | 260 updateView(); |
261 } | 261 } |
262 } | 262 } |
263 | 263 |
264 | 264 |