* adjust for upgrade.

This commit is contained in:
wangyidong
2021-06-07 14:37:32 +08:00
parent aacf8c1e1b
commit dd9214da2f
+10 -1
View File
@@ -84,7 +84,16 @@ function updateFile(link)
$(function()
{
$('.col-md-6:first').append("<div class='alert alert-info'><p><?php echo $lang->upgrade->needBuild4Add;?></p></div>");
$.get('<?php echo inlink('afterExec', "fromVersion=$fromVersion&processed=yes")?>');
searchFinish = true;
<?php
$condition = array();
foreach($needProcess as $processKey => $value) $condition[] = $processKey . 'Finish == true';
$condition = join(' && ', $condition);
?>
if(<?php echo $condition?>)
{
$.get('<?php echo inlink('afterExec', "fromVersion=$fromVersion&processed=yes")?>');
}
})
</script>
<?php endif;?>