Moves container data to parameters array …
authorMatthias Schmidt <gravatronics@live.com>
Tue, 30 Oct 2012 19:05:23 +0000 (20:05 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 30 Oct 2012 19:05:23 +0000 (20:05 +0100)
… to make it available as a parameter in the action class.

wcfsetup/install/files/js/WCF.js

index 94ab3babbb4dcc199af3bba92c9acce425e14d4f..7eb84e68de1724af22e04fe4f82caa2feb2cf610 100755 (executable)
@@ -1247,7 +1247,8 @@ WCF.Clipboard = {
                }
                
                var $parameters = {
-                       data: data
+                       data: data,
+                       containerData: this._containerData[listItem.data('type')]
                };
                var $__parameters = listItem.data('internalData')['parameters'];
                if ($__parameters !== undefined) {
@@ -1261,7 +1262,6 @@ WCF.Clipboard = {
                        data: {
                                actionName: listItem.data('parameters').actionName,
                                className: listItem.data('parameters').className,
-                               containerData: this._containerData[listItem.data('type')],
                                objectIDs: $objectIDs,
                                parameters: $parameters
                        },