From 54109e1332c7cd685a97ae054505a2b0f7238a91 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 3 Nov 2009 10:53:26 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&atid=955896&aid=2832968&group_id=176962 - context not correct after closing of modal dialog --- .../src/org/adempiere/webui/session/SessionContextListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java index 19d585b89d..e6ce516982 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java @@ -156,7 +156,7 @@ public class SessionContextListener implements ExecutionInit, if (serverContext == null) { serverContext = ServerContext.newInstance(); serverContext.putAll(ctx); - } else if (!ctx.getProperty(SERVLET_SESSION_ID).equals(serverContext.getProperty(SERVLET_SESSION_ID))) { + } else { serverContext.clear(); serverContext.putAll(ctx); }