1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

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 9a952df278
commit 92f2bd61ab

View File

@ -149,13 +149,13 @@ Contacts={
} }
] ); ] );
$('#fn').blur(function(){ /*$('#fn').blur(function(){
if($('#fn').val() == '') { 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(); }); 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(); $('#fn').focus();
return false; return false;
} }
}); });*/
// Name has changed. Update it and reorder. // Name has changed. Update it and reorder.
$('#fn').change(function(){ $('#fn').change(function(){