Contacts: removed check for empty FN field because Chrome/Chromium barfed.

This commit is contained in:
Thomas Tanghus 2012-05-16 23:45:43 +02:00
parent 9e83c3f823
commit d216678481
1 changed files with 2 additions and 2 deletions

View File

@ -149,13 +149,13 @@ Contacts={
}
] );
$('#fn').blur(function(){
/*$('#fn').blur(function(){
if($('#fn').val() == '') {
OC.dialogs.alert(t('contacts','The name field cannot be empty. Please enter a name for this contact.'), t('contacts','Name is empty'), function() { $('#fn').focus(); });
$('#fn').focus();
return false;
}
});
});*/
// Name has changed. Update it and reorder.
$('#fn').change(function(){