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

Don't focus invoice number when viewing an invoice

This commit is contained in:
Hillel Coren 2016-07-28 17:09:58 +03:00
parent 718fd928a4
commit be311315c3

View File

@ -965,7 +965,7 @@
}
if (model.invoice().client().public_id() || {{ $invoice->id || count($clients) == 0 ? '1' : '0' }}) {
$('#invoice_number').focus();
// do nothing
} else {
$('.client_select input.form-control').focus();
}