From 09d6dc28d119397919aac8f1376b3c7d1d080b22 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 29 Apr 2014 15:23:47 +0200 Subject: [PATCH] Fixed a few clipboard issues with multiple active containers --- wcfsetup/install/files/js/WCF.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 88ab6dce99..adad82c30e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1624,7 +1624,10 @@ WCF.Clipboard = { // add 'unmark all' $('
  • ' + WCF.Language.get('wcf.clipboard.item.unmarkAll') + '
  • ').appendTo($itemList).click($.proxy(function() { + var $foo = $typeName; + $('
  • ' + WCF.Language.get('wcf.clipboard.item.unmarkAll') + '
  • ').data('typeName', $typeName).appendTo($itemList).click($.proxy(function(event) { + var $typeName = $(event.currentTarget).data('typeName'); + this._proxy.setOption('data', { action: 'unmarkAll', type: $typeName @@ -1643,6 +1646,7 @@ WCF.Clipboard = { // call and restore success method this._success(data, textStatus, jqXHR); this._proxy.setOption('success', $.proxy(this._success, this)); + this._loadMarkedItems(); }, this)); this._proxy.sendRequest(); }, this)); -- 2.20.1