* Finish task #48001.

This commit is contained in:
孙广明
2022-01-24 13:19:13 +08:00
parent e3da935f16
commit c502091bf5
+8 -1
View File
@@ -22,8 +22,15 @@
<?php endif;?>
</div>
<?php if($result == 'fail'):?>
<div class='modal-footer text-left'><?php echo $lang->upgrade->afterDeleted;?> <?php echo html::a('#', $this->lang->refresh, '', "class='btn btn-sm' onclick='location.reload()'");?></div>
<div class='modal-footer text-left'><?php echo $lang->upgrade->afterDeleted;?> <?php echo html::a('#', $this->lang->refresh, '', "class='btn btn-sm' onclick='refreshPage(this)'");?></div>
<?php endif;?>
</div>
</div>
<script>
function refreshPage(obj)
{
$(obj).attr('disabled', true);
location.reload()
}
</script>
<?php include '../../common/view/footer.lite.html.php';?>