We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b2255 commit c85e5f3Copy full SHA for c85e5f3
src/bundle/Resources/public/js/scripts/admin.context.menu.js
@@ -116,7 +116,12 @@
116
label,
117
groupId: 'default',
118
onClick: () => clickRelatedBtn(relatedBtnId),
119
- processAfterCreated: (itemElement) => addRelatedBtnIdToMenuItem(itemElement, relatedBtnId),
+ processAfterCreated: (itemElement) => {
120
+ const itemBtn = itemElement.querySelector('.ibexa-multilevel-popup-menu__item-content');
121
+
122
+ itemBtn.disabled = menuButton.disabled;
123
+ addRelatedBtnIdToMenuItem(itemElement, relatedBtnId);
124
+ },
125
};
126
});
127
const menuTree = {
0 commit comments