summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-08-27 01:25:57 (EDT)
committerStephan Born2013-09-23 05:02:31 (EDT)
commita8e068233aacc5159a5fe77db85009c86265a213 (patch)
tree6c0c4667bbe97f833a8ba7ee4afdea66012c7080
parentba14661bd4f2193f845de62ac0edb7d99f629568 (diff)
downloadorg.eclipse.stardust.ui.web-a8e068233aacc5159a5fe77db85009c86265a213.zip
org.eclipse.stardust.ui.web-a8e068233aacc5159a5fe77db85009c86265a213.tar.gz
org.eclipse.stardust.ui.web-a8e068233aacc5159a5fe77db85009c86265a213.tar.bz2
Jira-ID: CRNT-30260
Moved call to closeChildViews before closing current view. git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66954 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplication.java5
1 files changed, 4 insertions, 1 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 beb354d..a5e78aa 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
@@ -1520,6 +1520,10 @@ public class PortalApplication
private void handleViewClose(View closedView, View focusView, boolean forceClose)
{
resetWindowWidth();
+ // Closing current View trigger's call to setFocusView(nextOpenView), which will
+ // try to open next child views, closing child views first will setFocusView(null)
+ // as child views will be already closed
+ closeChildViews(closedView, forceClose);
removeFromDisplayedViews(closedView);
if(focusView == closedView)
@@ -1537,7 +1541,6 @@ public class PortalApplication
handleViewClosePanama(closedView);
//handleViewOpenPanama(focusView);
- closeChildViews(closedView, forceClose);
}
/**