aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-05-31 15:45:03 +0300
committerMichael Lando <ml636r@att.com>2018-05-31 17:06:07 +0000
commit751ed40ff09744eb535e70164787ca826cfb6acf (patch)
treef175305594e4462a2b48e48245465fde0b5b2d2d /catalog-ui/src/app/ng2/services
parentcdb8d264670ae4b98eb3b40cc58ee06b2c2e70c9 (diff)
Drop down being cut in plugin view
Fixed drop down being cut down in plugin view Change-Id: I8d5895231e1e921c0c07df563a61039f207f253c Issue-ID: SDC-1367 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/services')
-rw-r--r--catalog-ui/src/app/ng2/services/event-bus.service.ts9
1 files changed, 9 insertions, 0 deletions
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 10990e2f2c..664ce35080 100644
--- a/catalog-ui/src/app/ng2/services/event-bus.service.ts
+++ b/catalog-ui/src/app/ng2/services/event-bus.service.ts
@@ -54,7 +54,12 @@ export class EventBusService extends BasePubSub {
}
public disableNavigation(isDisable: boolean) {
+ let iframes = document.getElementsByClassName("plugin-iframe");
+
if (isDisable) {
+ _.forEach(iframes, (iframeElement: HTMLElement) => {
+ iframeElement.style.zIndex = '1300';
+ });
let disableDiv = document.createElement('div');
disableDiv.style.cssText = "position: fixed;\n" +
"z-index: 1029;\n" +
@@ -68,6 +73,10 @@ export class EventBusService extends BasePubSub {
}
else {
document.getElementsByClassName("disable-navigation-div")[0].remove();
+
+ _.forEach(iframes, (iframeElement: HTMLElement) => {
+ iframeElement.style.zIndex = '';
+ });
}
}