diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java index ac17125a88cf6d8e706cf2db30f82b38aacf19fe..a6576ca88280889c82632431078b1f18337a6c62 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java @@ -89,7 +89,6 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.grid.ex import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.widget.IDataRefreshCallback; import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IDelegatedAction; import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IMessageProvider; -import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.WidgetUtils; import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.WindowUtils; import ch.systemsx.cisd.openbis.generic.client.web.client.dto.DefaultResultSetConfig; import ch.systemsx.cisd.openbis.generic.client.web.client.dto.GridCustomColumnInfo; @@ -281,9 +280,6 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod add(contentPanel); addRefreshDisplaySettingsListener(); - - WidgetUtils.setVisibleByStyle(bottomToolbars, false); - } protected void showEntityInformationHolderViewer(IEntityInformationHolder entity, @@ -715,7 +711,6 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod { pendingFetchConfigOrNull = null; refreshCallback.postRefresh(wasSuccessful); - WidgetUtils.setVisibleByStyle(bottomToolbars, true); } @Override diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/util/WidgetUtils.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/util/WidgetUtils.java index c53fb6a79f60d01ab12b092efd2d2a47228830ef..d78a6c75ed41a1623b22b43e61a6435ecaae22a2 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/util/WidgetUtils.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/util/WidgetUtils.java @@ -20,7 +20,6 @@ import com.extjs.gxt.ui.client.Style.Orientation; import com.extjs.gxt.ui.client.event.BaseEvent; import com.extjs.gxt.ui.client.event.Events; import com.extjs.gxt.ui.client.event.Listener; -import com.extjs.gxt.ui.client.widget.Component; import com.extjs.gxt.ui.client.widget.form.Radio; import com.extjs.gxt.ui.client.widget.form.RadioGroup; @@ -82,18 +81,4 @@ public class WidgetUtils } } - /** Allows to hide a component before rendering and render correctly later */ - public static void setVisibleByStyle(Component component, boolean visible) - { - if (visible) - { - component.removeStyleName("cisd-hidden"); - component.addStyleName("cisd-visible"); - } else - { - component.removeStyleName("cisd-visible"); - component.addStyleName("cisd-hidden"); - } - - } }