From: Matthias Schmidt Date: Sat, 19 May 2012 19:36:23 +0000 (+0200) Subject: Adds missing _getAdditionalParameters() in WCF.Collapsible.SimpleRemote X-Git-Tag: 2.0.0_Beta_1~1101^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11c6026bd1c949d1b60ff4d9f60783b917a39607;p=GitHub%2FWoltLab%2FWCF.git Adds missing _getAdditionalParameters() in WCF.Collapsible.SimpleRemote If WCF.Collapsible.Remote supports additional parameters, WCF.Collapsible.SimpleRemote should also support them since it extends WCF.Collapsible.Remote. --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index e307ccc4eb..a24b7a8d0a 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -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();