Skip to content

Commit

Permalink
AdminPackageManager: Disable button when required packages or perl mo…
Browse files Browse the repository at this point in the history
…dules not installed or updated yet.
  • Loading branch information
NiklasSchmitt committed Jul 13, 2023
1 parent 8d1cb1f commit 46aeec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
<span>[% Translate("Cancel") | html %]</span>
</a>
[% RenderBlockEnd("IntroCancel") %]
<button class="btn-primary btn-main btn-width-md" type="submit" value="[% Translate("Continue") | html %]">
<button class="[% IF !Data.PackageRequired && !Data.ModuleRequired %]btn-primary [% END %]btn-main btn-width-md" type="submit" value="[% Translate("Continue") | html %]"[% IF Data.PackageRequired || Data.ModuleRequired %] disabled[% END %]>
<span>[% Translate("Continue") | html %]</span>
</button>
</div>
Expand Down

0 comments on commit 46aeec8

Please sign in to comment.