This commit is contained in:
王怡栋
2022-04-07 15:05:39 +08:00
parent 14bd6bc03b
commit a5e6f2ca15
+7 -1
View File
@@ -64,7 +64,13 @@ function updateFile(link)
{
$.getJSON(link, function(response)
{
if(response.result == 'finished')
if(response == null)
{
updateFileFinish = true;
$.get('<?php echo inlink('afterExec', "fromVersion=$fromVersion&processed=yes")?>');
$('a#tohome').closest('.message').show();
}
else if(response.result == 'finished')
{
$('#resultBox li span.' + response.type + '-num').html(num + response.count);
updateFileFinish = true;