From fddf515da6e160ff111979d886b42f6d20c6a580 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 17 Apr 2019 20:50:53 +0200 Subject: [PATCH] Display the upload dialog on validation errors --- .../install/files/acp/templates/packageStartInstall.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl index 3c4b55e793..5922c0af61 100644 --- a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl +++ b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl @@ -13,6 +13,10 @@ }); new AcpUiPackageSearch(); + + {if $errorField === 'uploadPackage'} + elBySel('.jsButtonUploadPackage').click(); + {/if} }); @@ -23,7 +27,7 @@