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/agent/TeamDetailElement.java
71 71
	protected void updateContent() {
72 72
		super.updateContent();
73 73
		if (toggleable_cache != null){
74
		    toggleable_cache.setEnabled(getEntity().isProtectedTitleCache());
74
		    toggleable_cache.setCacheEnabled(getEntity().isProtectedTitleCache());
75 75
		}
76 76
		if (toggleable_nomenclaturalTitleCache != null){
77
		    toggleable_nomenclaturalTitleCache.setEnabled(getEntity()
77
		    toggleable_nomenclaturalTitleCache.setCacheEnabled(getEntity()
78 78
				.isProtectedNomenclaturalTitleCache());
79 79
		}
80 80
		if (toggleable_collectorTitleCache != null){
81
            toggleable_collectorTitleCache.setEnabled(getEntity()
81
            toggleable_collectorTitleCache.setCacheEnabled(getEntity()
82 82
                .isProtectedCollectorTitleCache());
83 83
        }
84 84
		section_teamMembers.setEntity(getEntity());

Also available in: Unified diff