From 11c6026bd1c949d1b60ff4d9f60783b917a39607 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 19 May 2012 21:36:23 +0200 Subject: [PATCH] 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. --- wcfsetup/install/files/js/WCF.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1