Update of /cvsroot/redpos/RedPOS/src/org/redpos/client/ui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13877/src/org/redpos/client/ui
Modified Files:
POSDashboardContext.java
Log Message:
No longer possible to press ESC when you
are in logoff-dialog, bug 1108213
Index: POSDashboardContext.java
===================================================================
RCS file: /cvsroot/redpos/RedPOS/src/org/redpos/client/ui/POSDashboardContext.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** POSDashboardContext.java 2 May 2005 09:16:55 -0000 1.4
--- POSDashboardContext.java 10 Jun 2005 09:19:18 -0000 1.5
***************
*** 208,225 ****
Object response = mServer.invoke(logoffSession, "escLogoff", params,
signature);
!
! if(((Boolean)response).booleanValue() == true)
! { }
! else
! {
! // enable other UI components
! UIDisabler.getInstance().fireEnable();
! // go...
! home();
! }
! }
catch(Exception ex)
{
! ex.printStackTrace();
}
}
--- 208,218 ----
Object response = mServer.invoke(logoffSession, "escLogoff", params,
signature);
! }
catch(Exception ex)
{
! // enable other UI components
! UIDisabler.getInstance().fireEnable();
! // go...
! home();
}
}
|