mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Prevent dismissing the modal on the shutdown page
This commit is contained in:
parent
066a95d209
commit
d473bb3058
1 changed files with 7 additions and 4 deletions
|
@ -41,13 +41,16 @@
|
||||||
|
|
||||||
<%def name="javascriptIncludes()">
|
<%def name="javascriptIncludes()">
|
||||||
<script>
|
<script>
|
||||||
|
// Remove the update bar
|
||||||
|
$('#updatebar').remove();
|
||||||
|
|
||||||
// Use p.countdown as container, pass redirect, duration, and optional message
|
// Use p.countdown as container, pass redirect, duration, and optional message
|
||||||
$(".countdown").countdown(reloadPage, ${timer}, "");
|
$(".countdown").countdown(reloadPage, ${timer}, "");
|
||||||
$('#state-change-modal').modal({
|
|
||||||
keyboard: false
|
|
||||||
})
|
|
||||||
// Make modal visible
|
// Make modal visible
|
||||||
$('#state-change-modal').modal('show')
|
$('#state-change-modal').modal({
|
||||||
|
backdrop: 'static',
|
||||||
|
keyboard: false
|
||||||
|
}).show();
|
||||||
|
|
||||||
// Redirect to home page after countdown.
|
// Redirect to home page after countdown.
|
||||||
function reloadPage() {
|
function reloadPage() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue