* Fix success tips not show.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ $account = strpos($zanode->osName, "windows") ? $config->zanode->defaultWinAccou
|
||||
<span class='dot-symbol dot-ztf text-danger'>●</span>
|
||||
<span> ZTF
|
||||
<span class="ztf-status"><?php echo $lang->zanode->initializing; ?></span>
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user