From 722b8118d311d35918207f205f56510c190e4caa Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 26 Nov 2020 18:45:03 +0100 Subject: [PATCH] Incorrect method name --- .../files/js/WoltLabSuite/Core/Controller/Clipboard.js | 6 +++--- .../files/ts/WoltLabSuite/Core/Controller/Clipboard.ts | 10 +++------- 2 files changed, 6 insertions(+), 10 deletions(-) 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 }; -- 2.20.1