mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Warn leaving page after invoice item changes
This commit is contained in:
parent
359271d6c8
commit
d6774fed60
@ -1229,8 +1229,7 @@
|
||||
if (!isEmailValid()) {
|
||||
swal("{!! trans('texts.provide_email') !!}");
|
||||
return;
|
||||
8 }
|
||||
|
||||
}
|
||||
|
||||
sweetConfirm(function() {
|
||||
var accountLanguageId = parseInt({{ $account->language_id ?: '0' }});
|
||||
@ -1469,6 +1468,8 @@
|
||||
if (!hasEmpty) {
|
||||
model.invoice().addItem();
|
||||
}
|
||||
|
||||
NINJA.formIsChanged = true;
|
||||
}
|
||||
|
||||
function onPartialChange(silent)
|
||||
|
Loading…
Reference in New Issue
Block a user