chg: [update] Remove lock notice when updates finishes

pull/5002/head
mokaddem 2019-10-15 11:51:49 +02:00
parent b87ee19146
commit bc59e9bf3c
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@ if (isset($updateProgress['preTestSuccess']) && $updateProgress['preTestSuccess'
<?php endif; ?>
<?php if ($updateLocked): ?>
<div style="width: 55%;margin: 20px auto;max-width: 1000px;" class="alert alert-danger">
<div style="width: 55%;margin: 20px auto;max-width: 1000px;" class="alert alert-danger UpdateLockedContainer">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<div style="display:flex;flex-direction: row;justify-content: space-between;">
<span>

View File

@ -89,6 +89,9 @@ function update_state(hard_reload) {
$('.single-update-progress').hide();
if (parseInt(data['complete_update_remaining']) === 0) {
$('.completeUpdateRemainingContainer').remove();
if (!data['update_locked']) {
$('.UpdateLockedContainer').remove();
}
}
} else {
pooler.unthrottle();