From f005c2c96a8e2d1bc5961c8da7a766a892d3e15a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 27 Dec 2012 13:01:00 +0100 Subject: [PATCH] Adds interfaceName to proxy actions --- wcfsetup/install/files/js/WCF.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index e5fdeaef58..aee14b23b1 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1784,6 +1784,7 @@ WCF.Action.Delete = Class.extend({ this.proxy.setOption('data', { actionName: 'delete', className: this._className, + interfaceName: 'wcf\\data\\IDeleteAction', objectIDs: [ $(object).data('objectID') ] }); @@ -1861,6 +1862,7 @@ WCF.Action.Toggle = Class.extend({ this.proxy.setOption('data', { actionName: 'toggle', className: this.className, + interfaceName: 'wcf\\data\\IToggleAction', objectIDs: [ $(event.target).data('objectID') ] }); @@ -3471,6 +3473,7 @@ WCF.Collapsible.Remote = Class.extend({ this._proxy.setOption('data', { actionName: 'loadContainer', className: this._className, + interfaceName: 'wcf\\data\\ILoadableCollapsibleContainerAction', objectIDs: [ this._getObjectID($containerID) ], parameters: $.extend(true, { containerID: $containerID, @@ -3601,6 +3604,7 @@ WCF.Collapsible.SimpleRemote = WCF.Collapsible.Remote.extend({ this._proxy.setOption('data', { actionName: 'toggleContainer', className: this._className, + interfaceName: 'wcf\\data\\ICollapsibleContainerAction', objectIDs: [ this._getObjectID($containerID) ], parameters: $.extend(true, { containerID: $containerID, @@ -4629,6 +4633,7 @@ WCF.Search.Base = Class.extend({ this._proxy.setOption('data', { actionName: 'getSearchResultList', className: this._className, + interfaceName: 'wcf\\data\\ISearchAction', parameters: this._getParameters($parameters) }); this._proxy.sendRequest(); @@ -5978,6 +5983,7 @@ WCF.Sortable.List = Class.extend({ this._proxy.setOption('data', { actionName: 'updatePosition', className: this._className, + interfaceName: 'wcf\\data\\IPositionAction', parameters: $parameters }); this._proxy.sendRequest(); -- 2.20.1