Revision 6d29f629
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java | ||
---|---|---|
347 | 347 |
popup.withDeleteButton(true); |
348 | 348 |
configureTaxonNameEditor(popup); |
349 | 349 |
popup.loadInEditor(event.getEntityUuid()); |
350 |
if(event.getSourceComponent() != null){ |
|
351 |
popup.setReadOnly(event.getSourceComponent().isReadOnly()); |
|
350 |
if(event.getSourceComponent() != null && event.getSourceComponent().isReadOnly()){ |
|
351 |
// avoid resetting readonly to false |
|
352 |
popup.setReadOnly(true); |
|
352 | 353 |
} |
353 | 354 |
|
354 | 355 |
} |
Also available in: Unified diff
ref #7366 TeamOrPersonField read only if user lacks editing permissions