* Fix the bug of install.

This commit is contained in:
xieqiyu
2023-12-18 20:03:14 +08:00
parent f9ab9ec463
commit dc985c0cbc
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -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)'
);
}