Warn leaving page after invoice item changes
This commit is contained in:
parent
359271d6c8
commit
d6774fed60
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue