<pages>
<!--
the clipboard API requires a page but since the media clipboard can be used
- in dialogs, we use this wildcard instead of a real page class
+ in dialogs, we use pseudo-pages
-->
- <page><![CDATA[*]]></page>
+ <page><![CDATA[menuManagerDialog-editor]]></page>
</pages>
</action>
<action name="delete">
<actionclassname><![CDATA[wcf\system\clipboard\action\MediaClipboardAction]]></actionclassname>
<showorder>2</showorder>
<pages>
- <page><![CDATA[*]]></page>
+ <page><![CDATA[menuManagerDialog-editor]]></page>
+ <page><![CDATA[menuManagerDialog-select]]></page>
</pages>
</action>
<!-- /com.woltlab.wcf.media -->
Clipboard.setup({
hasMarkedItems: data.returnValues.hasMarkedItems ? true : false,
- pageClassName: '*'
+ pageClassName: 'menuManagerDialog-' + this.getMode()
});
EventHandler.add('com.woltlab.wcf.clipboard', 'com.woltlab.wcf.media', this._clipboardAction.bind(this));