Project

General

Profile

« Previous | Next » 

Revision ec4a9eb1

Added by Katja Luther almost 3 years ago

ref #9287: adapt all toggleable text fields to enableCache

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java
75 75
	            secElement.setEntity(entity.getSecSource());
76 76
	        }
77 77

  
78
//		selection_secundum = formFactory.createSelectionElement(Reference.class,
79
//				 formElement, "Secundum",
80
//				entity.getSec(), EntitySelectionElement.ALL,
81
//				style);
82 78
		if (config != null && !config.isSecEnabled()){
83 79
		    secElement.setEnabled(false);
84 80
		}
......
93 89
		checkbox_published = formFactory.createCheckbox(formElement,
94 90
		        entity.getClass().getSimpleName()+" is published", entity.isPublish(), style);
95 91

  
96
		if(entity instanceof Synonym){
97
		    //#6198 removed type as it is currently not handled correctly in the editor
98
//		    combo_relationshipType = formFactory.createDefinedTermComboElement(TermType.SynonymType, formElement, "Synonym Type", ((Synonym) entity).getType(), style);
99
		}
100 92

  
101 93
	    //cache relevance
102 94
        registerCacheRelevance(checkbox_doubtful);

Also available in: Unified diff