diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java index 9b177d0..f9d4235 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java @@ -229,7 +229,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate { private native void hideHeaderSection() /*-{ - var e = $wnd.$doc.getElementByTagName('
'); + var e = $wnd.document.getElementByTagName('
'); console.log('header : '+e); if(e){ console.log('header found');