* Fix success tips not show.

This commit is contained in:
zhaoke
2023-01-06 03:36:58 +00:00
parent 28eec1c4c3
commit ae211ba53b
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ function checkServiceStatus(){
{
$('.ztf-status').text(zanodeLang.init[resultData.data[key]])
$('.ztf-install').text('');
$('.ztf-install-icon').hide();
}
else
{
@@ -79,7 +80,7 @@ function checkServiceStatus(){
}
}
}
if(resultData.data[key] !== 'ready')
if(resultData.data[key] !== 'ready' && key != 'node')
{
isSuccess = false
}
+1 -1
View File
@@ -133,7 +133,7 @@ $account = strpos($zanode->osName, "windows") ? $config->zanode->defaultWinAccou
<span class='dot-symbol dot-ztf text-danger'>●</span>
<span>&nbsp;&nbsp;ZTF &nbsp;
<span class="ztf-status"><?php echo $lang->zanode->initializing; ?></span>&nbsp;
<a class='node-init-install hide' target='hiddenwin' href='javascript:;' data-href='<?php echo $this->createLink('zanode', 'ajaxInstallService', 'nodeID=' . $zanode->id . '&service=ztf');?>'><i class="icon icon-download icon-sm"></i><span class="ztf-install"><?php echo $lang->zanode->install ?></span></a>
<a class='node-init-install hide' target='hiddenwin' href='javascript:;' data-href='<?php echo $this->createLink('zanode', 'ajaxInstallService', 'nodeID=' . $zanode->id . '&service=ztf');?>'><i class="icon icon-download icon-sm ztf-install-icon"></i><span class="ztf-install"><?php echo $lang->zanode->install ?></span></a>
</span>
</div>
<div class="status-notice">