Revision ca5879a8
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNamePopupEditor.java | ||
---|---|---|
381 | 381 |
this, |
382 | 382 |
new TaxonNameEditorAction(EditorActionType.ADD, null, validatedNameComboBox, this) |
383 | 383 |
)); |
384 |
validatedNameComboBox.addClickListenerAddEntity(e -> {
|
|
384 |
validatedNameComboBox.addClickListenerEditEntity(e -> {
|
|
385 | 385 |
if(validatedNameComboBox.getValue() != null){ |
386 | 386 |
getViewEventBus().publish(this, |
387 | 387 |
new TaxonNameEditorAction( |
... | ... | |
398 | 398 |
this, |
399 | 399 |
new ReferenceEditorAction(EditorActionType.ADD, null, validationCitatonComboBox, this) |
400 | 400 |
)); |
401 |
validationCitatonComboBox.addClickListenerAddEntity(e -> {
|
|
401 |
validationCitatonComboBox.addClickListenerEditEntity(e -> {
|
|
402 | 402 |
if(validationCitatonComboBox.getValue() != null){ |
403 | 403 |
getViewEventBus().publish(this, |
404 | 404 |
new ReferenceEditorAction( |
Also available in: Unified diff
fixing edit event publishing related to validations