Revision 969acec9
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/occurrence/CollectionEditorPresenter.java | ||
---|---|---|
141 | 141 |
|
142 | 142 |
Collection newCollection = (Collection) event.getEntity(); |
143 | 143 |
getCache().load(newCollection); |
144 |
getView().getSuperCollectionCombobox().getSelect().setValue(newCollection); |
|
144 |
if(event.isCreatedType()){ |
|
145 |
getView().getSuperCollectionCombobox().setValue(newCollection); |
|
146 |
} else { |
|
147 |
getView().getSuperCollectionCombobox().reload(); |
|
148 |
} |
|
145 | 149 |
} |
146 | 150 |
|
147 | 151 |
collectionPopuEditor = null; |
Also available in: Unified diff
selecting newly created collection in collection editor