Revision 14292cfa
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java | ||
---|---|---|
168 | 168 |
} |
169 | 169 |
parentTreeNode = entity.getParent(); |
170 | 170 |
|
171 |
<<<<<<< HEAD |
|
171 | 172 |
if (entity instanceof TaxonNode ) { |
172 | 173 |
checkbox_publish = formFactory.createCheckbox(formElement, |
173 | 174 |
"Taxon is published", entity.getTaxon().isPublish(), style); |
... | ... | |
175 | 176 |
checkbox_publish = formFactory.createCheckbox(formElement, |
176 | 177 |
"Taxon is published", true, style); |
177 | 178 |
} |
179 |
|
|
178 | 180 |
checkbox_publish.setEnabled(isCreateNew()); |
179 | 181 |
if(isCreateNew()){ |
180 | 182 |
setParentTreeNode(entity.getParent()); |
... | ... | |
194 | 196 |
|
195 | 197 |
} else{ |
196 | 198 |
setTreeNode(entity); |
197 |
|
|
199 |
checkbox_publish.setSelection(entity.getTaxon().isPublish()); |
|
198 | 200 |
complete = true; |
199 | 201 |
} |
200 | 202 |
if (entity instanceof TaxonNode) { |
Also available in: Unified diff
ref #8088: fix publish flag in edit wizard