From a496b4dba3f45e7b3b23d85f8f2ccf64243a3cec Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 25 Dec 2015 08:25:09 +0100 Subject: [PATCH] Improve clipboard pseudo-pages for media management --- com.woltlab.wcf/clipboardAction.xml | 7 ++++--- .../install/files/js/WoltLab/WCF/Media/Manager/Base.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/com.woltlab.wcf/clipboardAction.xml b/com.woltlab.wcf/clipboardAction.xml index d633a98d87..cbe7ec5302 100644 --- a/com.woltlab.wcf/clipboardAction.xml +++ b/com.woltlab.wcf/clipboardAction.xml @@ -91,16 +91,17 @@ - + 2 - + + diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js index 08473214ad..3a55f4ecbd 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Base.js @@ -198,7 +198,7 @@ define( 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)); -- 2.20.1