From: Alexander Ebert Date: Wed, 17 Apr 2019 18:50:53 +0000 (+0200) Subject: Display the upload dialog on validation errors X-Git-Tag: 5.2.0_Alpha_1~122^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fddf515da6e160ff111979d886b42f6d20c6a580;p=GitHub%2FWoltLab%2FWCF.git Display the upload dialog on validation errors --- 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 @@