Revision edce7749
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java | ||
---|---|---|
435 | 435 |
return; |
436 | 436 |
} |
437 | 437 |
|
438 |
getView().getAddNewNameRegistrationButton().setEnabled(false); |
|
438 | 439 |
newTaxonNameForRegistration = TaxonNameFactory.NewNameInstance(RegistrationUIDefaults.NOMENCLATURAL_CODE, Rank.SPECIES()); |
439 | 440 |
newTaxonNameForRegistration.setNomenclaturalReference(getRepo().getReferenceService().find(workingset.getCitationUuid())); |
440 | 441 |
EntityChangeEvent nameSaveEvent = getTaxonNameStore().saveBean(newTaxonNameForRegistration, (AbstractView) getView()); |
... | ... | |
498 | 499 |
getRepo().getSession().clear(); // #7702 |
499 | 500 |
} |
500 | 501 |
newTaxonNameForRegistration = null; |
502 |
getView().getAddNewNameRegistrationButton().setEnabled(true); |
|
501 | 503 |
} |
502 | 504 |
} |
503 | 505 |
|
Also available in: Unified diff
fix #7594 RegistrationWorkingsetEditor new name button disbled when opening name popup editor