gatein SVN: r880 - portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page.
by do-not-reply@jboss.org
Author: hoang_to
Date: 2009-11-30 20:32:58 -0500 (Mon, 30 Nov 2009)
New Revision: 880
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
Log:
GTNPORTAL-251: Update code to fix display error while user unmaximize the page via editing node 's page
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java 2009-11-30 22:45:45 UTC (rev 879)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java 2009-12-01 01:32:58 UTC (rev 880)
@@ -320,10 +320,14 @@
uiPortal.setMaximizedUIComponent(uiPage);
}else{
//To un-maximized the UIPage
- UIComponent showedMaxComponent = uiPortal.getMaximizedUIComponent();
- if(showedMaxComponent instanceof UIPage){
+ UIComponent uiPortalMaxComponent = uiPortal.getMaximizedUIComponent();
+ if(uiPortalMaxComponent instanceof UIPage){
uiPortal.setMaximizedUIComponent(null);
}
+ UIComponent pageBodyMaxComponent = uiPageBody.getMaximizedUIComponent();
+ if(pageBodyMaxComponent instanceof UIPage){
+ uiPageBody.setMaximizedUIComponent(null);
+ }
}
}
}
15 years