Adds missing _getAdditionalParameters() in WCF.Collapsible.SimpleRemote
authorMatthias Schmidt <gravatronics@live.com>
Sat, 19 May 2012 19:36:23 +0000 (21:36 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 19 May 2012 19:36:23 +0000 (21:36 +0200)
If WCF.Collapsible.Remote supports additional parameters, WCF.Collapsible.SimpleRemote should also support them since it extends WCF.Collapsible.Remote.

wcfsetup/install/files/js/WCF.js

index e307ccc4eb8bd4df2ef05553ea09a1c6a9604c34..a24b7a8d0a96f2962691b42ab187dbff553b3843 100644 (file)
@@ -3212,11 +3212,11 @@ WCF.Collapsible.SimpleRemote = WCF.Collapsible.Remote.extend({
                        actionName: 'toggleContainer',
                        className: this._className,
                        objectIDs: [ this._getObjectID($containerID) ],
-                       parameters: {
+                       parameters: $.extend(true, {
                                containerID: $containerID,
                                currentState: $currentState,
                                newState: $newState
-                       }
+                       }, this._getAdditionalParameters($containerID))
                });
                this._proxy.sendRequest();