From: Matthias Schmidt Date: Tue, 12 Jan 2021 10:25:52 +0000 (+0100) Subject: Apply suggestions from code review X-Git-Tag: 5.4.0_Alpha_1~450^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f7fbe8d3df542ae0bca8e43a3abcac9cfba7d24;p=GitHub%2FWoltLab%2FWCF.git Apply suggestions from code review --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js index 0540afe1ba..85cafa5453 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js @@ -69,7 +69,7 @@ define(["require", "exports", "tslib", "../../../../../../Core", "../../../../.. event.preventDefault(); event.stopPropagation(); const instructionsId = event.currentTarget.closest("li.section").dataset - .instrictionsId; + .instructionsId; // note: data will be validated/filtered by the server const pipField = document.getElementById(`${this.formFieldId}_instructions${instructionsId}_pip`); // ignore pressing button if no PIP has been selected diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/AbstractPackageList.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/AbstractPackageList.ts index 955a36a22f..d068933962 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/AbstractPackageList.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/AbstractPackageList.ts @@ -23,10 +23,10 @@ abstract class AbstractPackageList