From: Matthias Schmidt Date: Tue, 18 Feb 2020 18:36:28 +0000 (+0100) Subject: Fix ACLFormField UI potentially being hidden X-Git-Tag: 5.2.3~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bcf67de7051239ec0649e359a43e3e9536feb38d;p=GitHub%2FWoltLab%2FWCF.git Fix ACLFormField UI potentially being hidden --- diff --git a/wcfsetup/install/files/js/WCF.ACL.js b/wcfsetup/install/files/js/WCF.ACL.js index afd40fb20e..cb3567db1b 100644 --- a/wcfsetup/install/files/js/WCF.ACL.js +++ b/wcfsetup/install/files/js/WCF.ACL.js @@ -321,6 +321,13 @@ if (COMPILER_TARGET_DEFAULT) { // show container this._container.show(); + // Because the container might have been hidden before, we must ensure that + // form builder field dependencies are checked again to avoid having ACL + // form fields not being shown in form builder forms. + require(['WoltLabSuite/Core/Form/Builder/Field/Dependency/Manager'], function(FormBuilderFieldDependencyManager) { + FormBuilderFieldDependencyManager.checkDependencies(); + }); + // pre-select an entry this._selectFirstEntry(); },