start polling moved
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129911 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c31d59d3c5
commit
63b1d52f31
|
@ -35,9 +35,6 @@ public class GCubeCkanDataCatalog implements EntryPoint {
|
|||
* This is the entry point method.
|
||||
*/
|
||||
public void onModuleLoad() {
|
||||
|
||||
//polling for session expired check
|
||||
CheckSession.getInstance().startPolling();
|
||||
|
||||
Window.addWindowClosingHandler(new Window.ClosingHandler() {
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.GCubeCkanDataCat
|
|||
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.resource.CkanPortletResources;
|
||||
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanConnectorAccessPoint;
|
||||
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanRole;
|
||||
import org.gcube.portlets.widgets.sessionchecker.client.CheckSession;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.event.logical.shared.ResizeEvent;
|
||||
|
@ -84,6 +85,9 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate{
|
|||
managementPanel.doNotShowUserRelatedInfo();
|
||||
|
||||
}else{
|
||||
|
||||
//polling for session expired check
|
||||
CheckSession.getInstance().startPolling();
|
||||
|
||||
// RETRIEVE USER'S ORGANIZATIONS
|
||||
GCubeCkanDataCatalog.service.getCkanOrganizationsNamesAndUrlsForUser(new AsyncCallback<Map<String,String>>() {
|
||||
|
|
Loading…
Reference in New Issue