From 60c47df2499a98a1d0bd54ef4feb3316ae738e05 Mon Sep 17 00:00:00 2001 From: Idan Amit Date: Tue, 8 May 2018 16:06:34 +0300 Subject: Developed disable navigation mechanism Added a list for events to not fire an WINDOW_OUT event after sdc notifies about them Small fix to Plugins loader Change-Id: Ia31ebf4095b94a5ca602c4f502df4fcc32368b0b Issue-ID: SDC-1277 Signed-off-by: Idan Amit --- catalog-ui/src/app/ng2/services/event-bus.service.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'catalog-ui/src/app/ng2/services/event-bus.service.ts') diff --git a/catalog-ui/src/app/ng2/services/event-bus.service.ts b/catalog-ui/src/app/ng2/services/event-bus.service.ts index cff18e1db3..10990e2f2c 100644 --- a/catalog-ui/src/app/ng2/services/event-bus.service.ts +++ b/catalog-ui/src/app/ng2/services/event-bus.service.ts @@ -4,8 +4,11 @@ import {BasePubSub, IPubSubEvent} from "../../models/base-pubsub"; @Injectable() export class EventBusService extends BasePubSub { + NoWindowOutEvents: Array; + constructor() { super("sdc-hub"); + this.NoWindowOutEvents = ["CHECK_IN", "SUBMIT_FOR_TESTING", "UNDO_CHECK_OUT"]; } protected handlePluginRegistration(eventData: IPubSubEvent, event: any) { -- cgit 1.2.3-korg