Project

General

Profile

« Previous | Next » 

Revision 1fef7214

Added by Andreas Kohlbecker almost 6 years ago

fix #7554 resetting nested components readonly states when setting new team or person instance

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/component/common/TeamOrPersonField.java
132 132

  
133 133
        personButton.addClickListener(e -> {
134 134
            setValue(Person.NewInstance(), false, true);
135
            resetReadOnlyComponents();
135 136

  
136 137
        });
137 138
        personButton.setDescription("Add person");
138 139
        teamButton.addClickListener(e -> {
139 140
            setValue(Team.NewInstance(), false, true);
141
            resetReadOnlyComponents();
140 142
        });
141 143
        teamButton.setDescription("Add team");
142 144

  

Also available in: Unified diff