summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-07-24 06:02:48 (EDT)
committerStephan Born2013-09-23 04:55:34 (EDT)
commit2fc3231782cec6ec9d626fc115bc8c360c5f8e09 (patch)
tree526b303d13e1a01cafe7769bbce9358e1d97e3bb
parent0592bae0bd70ef6d12737d7257d92234ee307db8 (diff)
downloadorg.eclipse.stardust.ui.web-2fc3231782cec6ec9d626fc115bc8c360c5f8e09.zip
org.eclipse.stardust.ui.web-2fc3231782cec6ec9d626fc115bc8c360c5f8e09.tar.gz
org.eclipse.stardust.ui.web-2fc3231782cec6ec9d626fc115bc8c360c5f8e09.tar.bz2
Jira-ID: CRNT-29684
-removed the redundant script check on PortalApplicationEventScript.eventScripts for auto tab switch operations (activity opening) git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66226 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/PortalApplicationEventScript.java5
-rw-r--r--process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/view/ActivityDetailsBean.java4
2 files changed, 5 insertions, 4 deletions
diff --git a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplicationEventScript.java b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplicationEventScript.java
index c8d2d05..aff9edc 100644
--- a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplicationEventScript.java
+++ b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/PortalApplicationEventScript.java
@@ -128,10 +128,7 @@ public class PortalApplicationEventScript implements Serializable
{
onceRead = false;
- if (!this.eventScripts.contains(eventScript))
- {
- this.eventScripts.add(eventScript);
- }
+ this.eventScripts.add(eventScript);
}
/**
diff --git a/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/view/ActivityDetailsBean.java b/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/view/ActivityDetailsBean.java
index 1f565ee..878ccc9 100644
--- a/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/view/ActivityDetailsBean.java
+++ b/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/view/ActivityDetailsBean.java
@@ -705,6 +705,10 @@ public class ActivityDetailsBean extends UIComponentBean
// At the end the focus view should be this view
PortalApplication.getInstance().setFocusView(view);
+ // Auto - operations(Notes, documents) change the currentView icon,label on UI,
+ // reset for AI active view
+ PortalApplication.getInstance().updateViewIconClass(view);
+ PortalApplication.getInstance().updateViewTitle(view);
/*
* If any message pop-up is set to be opened up, then fire a de-activate view