mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:17:30 -04:00
Bug fixes
This commit is contained in:
parent
eb450365d6
commit
dbf2ec5e13
@ -141,7 +141,7 @@ function ViewModel(data) {
|
|||||||
var isValid = true;
|
var isValid = true;
|
||||||
$('input.client-email').each(function(item, value) {
|
$('input.client-email').each(function(item, value) {
|
||||||
var email = $(value).val();
|
var email = $(value).val();
|
||||||
if (!first_name && (!email || !isValidEmailAddress(email))) {
|
if (!firstName && (!email || !isValidEmailAddress(email))) {
|
||||||
isValid = false;
|
isValid = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user