fix #10228: open fields for elevation and date in specimen dialog
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / occurrence / DerivedUnitGeneralDetailElement.java
index 44227210e20c99441b62f86347ffbe094f481369..9532cba7ecc7c63a549bce604a12c8e08bebf070 100644 (file)
@@ -98,9 +98,10 @@ public class DerivedUnitGeneralDetailElement extends
                            entity.getExactLocation(), style);
                    element_elevation = formFactory.createGatheringEventUnitElement(
                            formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION,  style);
-
+                   element_elevation.setExpanded(true);
                    element_date = formFactory.createTimePeriodElement(formElement, "Date",
                            entity.getGatheringPeriod(), style);
+                   element_date.setExpanded(true);
                    selection_collector = formFactory
                            .createCollectorSelectionElement(
                                    formElement, "Collector",
@@ -180,6 +181,8 @@ public class DerivedUnitGeneralDetailElement extends
                    getEntity().setPreferredStableUri(uriPreferredStableUri.parseText());
                } else if (eventSource == checkIsPublish) {
             getEntity().innerDerivedUnit().setPublish(checkIsPublish.getSelection());
+        }else if (eventSource == section_status) {
+               firePropertyChangeEvent(this);
         }
 
                toggleableText_titleCache.setText(getEntity().getTitleCache());