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:
parent
a223d5484e
commit
2ae0c1661c
|
@ -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
|
||||
|
|
|
@ -67,3 +67,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
|
||||
|
|
|
@ -69,3 +69,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
|
||||
|
|
|
@ -51,3 +51,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
|
||||
|
|
|
@ -56,3 +56,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
|
||||
|
|
|
@ -18,3 +18,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -19,3 +19,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -57,3 +57,16 @@
|
|||
});
|
||||
</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
|
||||
|
||||
|
|
|
@ -55,3 +55,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
|
||||
|
|
|
@ -39,3 +39,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
|
||||
|
|
|
@ -44,3 +44,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
|
||||
|
|
|
@ -20,3 +20,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -21,3 +21,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -76,4 +76,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
|
||||
|
|
|
@ -29,3 +29,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -28,3 +28,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -32,3 +32,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@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
|
||||
|
|
|
@ -30,3 +30,15 @@
|
|||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@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
|
||||
|
|
Loading…
Reference in New Issue