From: Matthias Schmidt Date: Fri, 12 Jul 2013 14:35:22 +0000 (+0200) Subject: Only load marked clipboard items if clipboard containers exist X-Git-Tag: 2.0.0_Beta_5~66^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b0cabda449e04a7b27c218b2b2a7609039ac5fe;p=GitHub%2FWoltLab%2FWCF.git Only load marked clipboard items if clipboard containers exist --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index d98f033d8d..91e696816f 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1128,7 +1128,7 @@ WCF.Clipboard = { }, this)); // loads marked items - if (this._hasMarkedItems) { + if (this._hasMarkedItems && this._containers.length) { this._loadMarkedItems(); }