From: Alexander Ebert Date: Tue, 29 Apr 2014 13:23:47 +0000 (+0200) Subject: Fixed a few clipboard issues with multiple active containers X-Git-Tag: 2.0.6~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09d6dc28d119397919aac8f1376b3c7d1d080b22;p=GitHub%2FWoltLab%2FWCF.git Fixed a few clipboard issues with multiple active containers --- 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));