From: Alexander Ebert Date: Thu, 26 Nov 2020 17:45:03 +0000 (+0100) Subject: Incorrect method name X-Git-Tag: 5.4.0_Alpha_1~569^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=722b8118d311d35918207f205f56510c190e4caa;p=GitHub%2FWoltLab%2FWCF.git Incorrect method name --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js index ed443bf0c2..8d0fcbc653 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js @@ -268,14 +268,14 @@ define(["require", "exports", "tslib", "../Ajax", "../Core", "../Dom/Change/List } }); } - this._executeProxyAction(listItem, data, formData); + this.executeProxyAction(listItem, data, formData); }, message, template, }); } else { - this._executeProxyAction(listItem, data); + this.executeProxyAction(listItem, data); } } } @@ -293,7 +293,7 @@ define(["require", "exports", "tslib", "../Ajax", "../Core", "../Dom/Change/List /** * Forwards clipboard actions to an individual handler. */ - _executeProxyAction(listItem, data, formData = {}) { + executeProxyAction(listItem, data, formData = {}) { const objectIds = data.parameters.actionName !== "unmarkAll" ? data.parameters.objectIDs : []; const parameters = { data: formData }; if (Core.isPlainObject(data.internalData.parameters)) { diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Controller/Clipboard.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Controller/Clipboard.ts index 8919e63066..de703b4b2e 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Controller/Clipboard.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Controller/Clipboard.ts @@ -365,13 +365,13 @@ class ControllerClipboard { }); } - this._executeProxyAction(listItem, data, formData); + this.executeProxyAction(listItem, data, formData); }, message, template, }); } else { - this._executeProxyAction(listItem, data); + this.executeProxyAction(listItem, data); } } } else if (message.length) { @@ -391,11 +391,7 @@ class ControllerClipboard { /** * Forwards clipboard actions to an individual handler. */ - private _executeProxyAction( - listItem: HTMLLIElement, - data: ClipboardActionData, - formData: ArbitraryObject = {}, - ): void { + private executeProxyAction(listItem: HTMLLIElement, data: ClipboardActionData, formData: ArbitraryObject = {}): void { const objectIds = data.parameters.actionName !== "unmarkAll" ? data.parameters.objectIDs : []; const parameters = { data: formData };