Author: liem_nguyen
Date: 2010-02-01 02:51:11 -0500 (Mon, 01 Feb 2010)
New Revision: 1477
Modified:
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java
Log:
GTNPORTAL-443 NPE when delete tab in special case
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-02-01
07:00:28 UTC (rev 1476)
+++
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UITabPaneDashboard.java 2010-02-01
07:51:11 UTC (rev 1477)
@@ -204,6 +204,7 @@
} else {
getAncestorOfType(UIApplication.class).addMessage(
new
ApplicationMessage("UITabPaneDashboard.msg.cannotDeleteLastTab", null));
+ return null;
}
return selectedNode;
Show replies by date