1
0
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:
Hillel Coren 2016-09-12 09:44:26 +03:00
parent 359271d6c8
commit d6774fed60

View File

@ -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)