Project

General

Profile

« Previous | Next » 

Revision e7f70a37

Added by Katja Luther about 5 years ago

ref #7761: don't allow editing type of relationship for InvalidTypeDesignations in details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java
100 100
            combo_misappliedRelationshipType = formFactory.createMisappliedRelationshipComboElement(formElement, label,
101 101
                        entity.getType(), style);
102 102

  
103

  
104
            combo_misappliedRelationshipType.setEnabled(true);
103
            if (entity.getType().isInvalidDesignation()){
104
                combo_misappliedRelationshipType.setEnabled(false);
105
            }else{
106
                combo_misappliedRelationshipType.setEnabled(true);
107
            }
105 108
            if (entity.getType().isAnyMisappliedName()) {
106 109
                label = "Misappl. Sec.";
107 110
            }else{

Also available in: Unified diff