projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8dccd
)
Added event for AJAX responses within clipboard
author
Alexander Ebert
<ebert@woltlab.com>
Thu, 31 May 2012 21:39:22 +0000
(23:39 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Thu, 31 May 2012 21:39:22 +0000
(23:39 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index b53e153749e7613900edf84cc8560bf3b08b21de..0a018696efad0759d9c191582404a85209ddb519 100644
(file)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-1047,7
+1047,11
@@
WCF.Clipboard = {
className: listItem.data('parameters').className,
objectIDs: objectIDs
},
- success: $.proxy(this._loadMarkedItems, this)
+ success: $.proxy(function(data) {
+ listItem.trigger('clipboardActionResponse', [ data, listItem.data('type'), listItem.data('actionName'), listItem.data('parameters') ]);
+
+ this._loadMarkedItems();
+ }, true)
});
if (this._actionObjects[listItem.data('objectType')] && this._actionObjects[listItem.data('objectType')][listItem.data('parameters').actionName]) {