diff --git a/install/index.php b/install/index.php index 0a939b239..c961f5a63 100644 --- a/install/index.php +++ b/install/index.php @@ -210,8 +210,8 @@ global $wavelog_url;
PHP Modules
-MySQL / MariaDB
-| Min. MySQL Version: | -- |
| Min. MariaDB Version: | -- |
You can test your MySQL/MariaDB Version in Step 4
-PHP Settings
+PHP Settings
| max_execution_time | @@ -341,7 +322,21 @@ global $wavelog_url;
MySQL / MariaDB
+| Min. MySQL Version: | ++ |
| Min. MariaDB Version: | ++ |
You can test your MySQL/MariaDB Version in Step 4
+Some Checks have failed!
@@ -671,6 +666,10 @@ global $wavelog_url; let fourthTabId = 'database-tab'; let lastTabId = 'finish-tab'; + const activeTab = $('.nav-link.active'); + + var allChecksPassed = ''; + function nextTab() { const activeTab = $('.nav-link.active'); const nextTab = activeTab.parent().next().find('.nav-link'); @@ -686,6 +685,18 @@ global $wavelog_url; } else { $('#ContinueButton').css('display', 'none'); } + + if (nextTab.attr('id') == secondTabId) { + if (allChecksPassed == 'failed') { + if (root_mode == false) { + $('#ContinueButton').prop('disabled', true); + } else { + $('#ContinueButton').prop('disabled', false); + } + } else { + $('#ContinueButton').prop('disabled', false); + } + } } function prevTab() { @@ -710,7 +721,19 @@ global $wavelog_url; $('#ContinueButton').on('click', nextTab); $('#BackButton').on('click', prevTab); - + // We check if on the second Tab (Pre-Check) all checks passed or failed, Only of they failed we disable the continue button + // root_mode can override that + // if (allChecksPassed == 'failed') { + // if (activeTab.attr('id') == secondTabId) { + // if (root_mode == false) { + // $('#ContinueButton').prop('disabled', true); + // } else { + // $('#ContinueButton').prop('disabled', false); + // } + // } else { + // $('#ContinueButton').prop('disabled', false); + // } + // } });