v0.6.2d - Added are you sure you want to leave alert if you have unsaved data on a pages

This commit is contained in:
2020-08-11 10:54:01 +02:00
parent a223d5484e
commit 2ae0c1661c
20 changed files with 226 additions and 1 deletions
@@ -54,7 +54,7 @@
@section("scripts")
<script>
$(function() {
$('contact').areYouSure(
$('form').areYouSure(
{
message: 'It looks like you have been editing something. '
+ 'If you leave before saving, your changes will be lost.'
@@ -52,3 +52,15 @@
</script>
@endsection
@section("scripts")
<script>
$(function() {
$('form').areYouSure(
{
message: 'It looks like you have been editing something. '
+ 'If you leave before saving, your changes will be lost.'
}
);
});
</script>
@endsection