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
@@ -61,4 +61,14 @@
}
}
</script>
<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