made the logout dialog static
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/session-checker@94083 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
90fd49f074
commit
60d3e5d057
|
@ -20,7 +20,7 @@ public class CheckSession {
|
|||
private final int MILLI_SECONDS = 55 * 1000; //(milli)seconds
|
||||
|
||||
//for css and images
|
||||
private CheckSessionBundle images = GWT.create(CheckSessionBundle.class);
|
||||
private static CheckSessionBundle images = GWT.create(CheckSessionBundle.class);
|
||||
|
||||
static {
|
||||
CheckSessionBundle.INSTANCE.css().ensureInjected();
|
||||
|
@ -138,7 +138,7 @@ public class CheckSession {
|
|||
maskDiv.getElement().getStyle().setDisplay(Display.NONE);
|
||||
}
|
||||
|
||||
public void showLogoutDialog() {
|
||||
public static void showLogoutDialog() {
|
||||
GCubeDialog dlg = new GCubeDialog();
|
||||
dlg.setText("Your Session Expired!");
|
||||
|
||||
|
|
Loading…
Reference in New Issue