Only load marked clipboard items if clipboard containers exist
authorMatthias Schmidt <gravatronics@live.com>
Fri, 12 Jul 2013 14:35:22 +0000 (16:35 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 12 Jul 2013 14:35:22 +0000 (16:35 +0200)
wcfsetup/install/files/js/WCF.js

index d98f033d8de88046ac9fa8ed480052c259097673..91e696816fad3b5a817ea4d89311c068b7befc3e 100755 (executable)
@@ -1128,7 +1128,7 @@ WCF.Clipboard = {
                }, this));
                
                // loads marked items
-               if (this._hasMarkedItems) {
+               if (this._hasMarkedItems && this._containers.length) {
                        this._loadMarkedItems();
                }