Skip to content

Commit 74635b1

Browse files
authored
IBX-10089: App window is greyed out when clicking Share button when content was sent to review (#1691)
1 parent 416bf02 commit 74635b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bundle/Resources/public/js/scripts/edit.header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
const headerBottomRowNode = headerNode.querySelector('.ibexa-edit-header__row--bottom');
1313
const { height: expandedHeaderHeight } = headerNode.getBoundingClientRect();
1414
const scrolledContent = doc.querySelector('.ibexa-edit-content > :first-child');
15-
const { controlZIndex } = ibexa.helpers.modal;
15+
const { controlManyZIndexes } = ibexa.helpers.modal;
1616
const fitEllipsizedTitle = () => {
1717
const titleNode = headerBottomRowNode.querySelector('.ibexa-edit-header__name--ellipsized');
1818
const firstMenuEntryNode = headerNode.querySelector('.ibexa-context-menu .ibexa-context-menu__item');
@@ -49,5 +49,5 @@
4949
};
5050

5151
contentNode.addEventListener('scroll', fitHeader, false);
52-
controlZIndex(headerNode);
52+
controlManyZIndexes([{ container: headerNode }, { container: headerBottomRowNode }], headerNode);
5353
})(window, window.document, window.ibexa);

0 commit comments

Comments
 (0)