Author: tuancn
Date: 2010-01-18 05:29:43 -0500 (Mon, 18 Jan 2010)
New Revision: 1345
Modified:
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java
Log:
GTNPORTAL-404: the maximized portlet is still display after deleting the page (update)
Modified:
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java
===================================================================
---
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java 2010-01-18
10:15:35 UTC (rev 1344)
+++
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java 2010-01-18
10:29:43 UTC (rev 1345)
@@ -390,7 +390,7 @@
// set maximizedUIComponent of UIPageBody is null if it is maximized portlet
of removed page
UIPortal uiPortal = Util.getUIPortal();
UIPageBody uiPageBody = uiPortal.findFirstComponentOfType(UIPageBody.class);
- if(uiPageBody.getMaximizedUIComponent() != null){
+ if(uiPageBody != null && uiPageBody.getMaximizedUIComponent() !=
null){
uiPageBody.setMaximizedUIComponent(null);
}
Show replies by date