1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 00:53:10 +01:00

bug fixes

This commit is contained in:
Hillel Coren 2014-02-02 22:16:31 +02:00
parent 3ea3b6462a
commit 84ae30e60a

View File

@ -611,10 +611,15 @@
}
function onEmailClick() {
@if (Auth::user()->confirmed)
if (confirm('Are you sure you want to email this invoice?')) {
$('#action').val('email');
$('.main_form').submit();
}
@else
$('#action').val('email');
$('.main_form').submit();
@endif
}
function onSaveClick() {