From bcf67de7051239ec0649e359a43e3e9536feb38d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 18 Feb 2020 19:36:28 +0100 Subject: [PATCH] Fix ACLFormField UI potentially being hidden --- wcfsetup/install/files/js/WCF.ACL.js | 7 +++++++ 1 file changed, 7 insertions(+) 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(); }, -- 2.20.1