Author: kien_nguyen
Date: 2011-03-01 03:03:32 -0500 (Tue, 01 Mar 2011)
New Revision: 5950
Modified:
portal/branches/branch-GTNPORTAL-1822/webui/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboard.java
Log:
GTNPORTAL-1779 Cant do any actions on gadgets which remove from Application Registry
Modified:
portal/branches/branch-GTNPORTAL-1822/webui/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboard.java
===================================================================
---
portal/branches/branch-GTNPORTAL-1822/webui/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboard.java 2011-02-28
10:42:35 UTC (rev 5949)
+++
portal/branches/branch-GTNPORTAL-1822/webui/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboard.java 2011-03-01
08:03:32 UTC (rev 5950)
@@ -168,7 +168,6 @@
{
UIPortalApplication uiApp = Util.getUIPortalApplication();
uiApp.addMessage(new
ApplicationMessage("UIDashboard.msg.ApplicationNotExisted", null));
- uiDashboardCont.removeUIGadget(uiGadget.getId());
context.addUIComponentToUpdateByAjax(uiDashboard);
}
else
@@ -198,9 +197,6 @@
{
UIPortalApplication uiApp = Util.getUIPortalApplication();
uiApp.addMessage(new
ApplicationMessage("UIDashboard.msg.ApplicationNotExisted", null));
- if (uiGadget != null)
- uiDashboardCont.removeUIGadget(uiGadget.getId());
- uiDashboardCont.save();
context.addUIComponentToUpdateByAjax(uiDashboard);
return;
}
Show replies by date