| author | Sidharth Singh | 2012-03-09 04:44:29 (EST) |
|---|---|---|
| committer | Manik Kishore | 2012-06-19 07:20:07 (EDT) |
| commit | 028388daac78bd3e385741c92e2707ab6b8ab3ae (patch) (side-by-side diff) | |
| tree | 22d6145ee6ff4f68f2300075350836ef28eaa96f | |
| parent | 6a30d5f27e375c539c8954d411400f27601f7fec (diff) | |
| download | org.eclipse.stardust.ui.web-028388daac78bd3e385741c92e2707ab6b8ab3ae.zip org.eclipse.stardust.ui.web-028388daac78bd3e385741c92e2707ab6b8ab3ae.tar.gz org.eclipse.stardust.ui.web-028388daac78bd3e385741c92e2707ab6b8ab3ae.tar.bz2 | |
Jira-ID: CRNT-23864
1)Added code to clear the focusViewStack and displayedViews list and set portalUiController focusView to null
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@54421 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
| -rw-r--r-- | portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java index 43e7af9..b7da4cc 100644 --- a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java +++ b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java @@ -788,8 +788,12 @@ public class PortalApplication {
closeView(view);
}
-
- addToDisplayedViews(getLastFocusView());
+
+ // When activity panel is open with Document Viewer, closeView() does not clear the
+ // Activity Panel view fro focusViewStack, manually removing if any view is open
+ focusViewStack.clear();
+ displayedViews.clear();
+ getPortalUiController().setFocusView(null);
}
/**
|

