summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services/event-bus.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/services/event-bus.service.ts')
-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 = '';
+ });
}
}