mirror of https://github.com/MISP/MISP
chg: [update] Remove lock notice when updates finishes
parent
b87ee19146
commit
bc59e9bf3c
|
@ -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">×</button>
|
||||
<div style="display:flex;flex-direction: row;justify-content: space-between;">
|
||||
<span>
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue