Permalink
Browse files

Confirm before nav away from SST on change

  • Loading branch information...
NEMS Linux
NEMS Linux committed Dec 24, 2018
1 parent b35c689 commit 0374e1af5f8ad9eb8b6728e5bc7ae0a8cf6049d8
Showing with 8 additions and 3 deletions.
  1. +8 −3 config/index.php
@@ -155,9 +155,14 @@ function sanitize($string) {
<?php
if (strlen($response) > 0) echo '<div class="col-md-12 alert alert-danger fade in">' . $response . '</div>';
?>


<form method="post" id="sky-form4" class="sky-form" style="border:none;">
<script src="/js/jquery.are-you-sure.js"></script>
<script src="/js/ays-beforeunload-shim.js"></script>
<script>
$(function() {
$('#sst').areYouSure();
});
</script>
<form method="post" id="sst" class="sky-form" style="border:none;">


<div class="tab-v1">

0 comments on commit 0374e1a

Please sign in to comment.