mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fixes
This commit is contained in:
parent
a6bd9d30be
commit
0d912373e7
@ -75,9 +75,11 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
$(window).on('beforeunload', function() {
|
$(window).on('beforeunload', function() {
|
||||||
|
/*
|
||||||
if (NINJA.formIsChanged) {
|
if (NINJA.formIsChanged) {
|
||||||
return "{{ trans('texts.unsaved_changes') }}";
|
return "{{ trans('texts.unsaved_changes') }}";
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
});
|
});
|
||||||
//$('a[rel!=ext]').click(function() { $(window).off('beforeunload') });
|
//$('a[rel!=ext]').click(function() { $(window).off('beforeunload') });
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user