From fe630fafdddb94e5ee8be4567abff0e39d55e514 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Sun, 18 Feb 2024 10:07:10 +0100 Subject: [PATCH] Install: reset button does not work at stage 2 This was caused by the install.js scripts only being loaded at stage 1. Fixes #26664 --- admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/install.php b/admin/install.php index 42899e61fd..96e7b35cf8 100644 --- a/admin/install.php +++ b/admin/install.php @@ -139,7 +139,7 @@ function_exists( 'mysqli_stmt_get_result' ), layout_page_header_begin( 'Administration - Installation' ); # Javascript is only needed to support input of installation options -if( $t_install_state < 2 ) { +if( $t_install_state <= 2 ) { html_javascript_link( 'install.js' ); } layout_page_header_end();