Prevent dismissing the modal on the shutdown page
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user