From dc985c0cbca182edb7d43b876e7959b7ef3a8956 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 18 Dec 2023 20:03:02 +0800 Subject: [PATCH] * Fix the bug of install. --- module/install/ui/progress.html.php | 8 ++++---- module/install/ui/step3.html.php | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/module/install/ui/progress.html.php b/module/install/ui/progress.html.php index 629efa3f2a..ac4af23a87 100644 --- a/module/install/ui/progress.html.php +++ b/module/install/ui/progress.html.php @@ -51,13 +51,13 @@ jsVar('backgroundLang', $lang->solution->background); jsVar('isModal', helper::isAjaxRequest('modal')); $actions = array(); -if(helper::isAjaxRequest('modal')) +if(!helper::isAjaxRequest('modal')) { $actions[] = array( 'text' => $lang->solution->background, 'href' => createLink('install', 'step6'), 'id' => 'skipInstallBtn', - 'class' => 'btn primary', + 'class' => 'btn primary hidden', ); } @@ -68,12 +68,12 @@ $actions[] = array( 'onclick' => 'retryInstall(this)' ); -if(helper::isAjaxRequest('modal')) +if(!helper::isAjaxRequest('modal')) { $actions[] = array( 'text' => $lang->solution->cancelInstall, 'id' => 'cancelInstallBtn', - 'class' => 'btn', + 'class' => 'btn hidden', 'onclick' => 'cancelInstall(this)' ); } diff --git a/module/install/ui/step3.html.php b/module/install/ui/step3.html.php index 7070a06394..74d875ec88 100644 --- a/module/install/ui/step3.html.php +++ b/module/install/ui/step3.html.php @@ -57,6 +57,7 @@ div textarea ( set::name('config'), + set::rows(15), html($configContent) ), cell