From: Thomas Tanghus Date: Wed, 16 May 2012 21:45:43 +0000 (+0200) Subject: Contacts: removed check for empty FN field because Chrome/Chromium barfed. X-Git-Tag: v4.0.0RC2~35 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2166784813ad161fe3118e2faf325fdeb93fc3c;p=nextcloud-server.git Contacts: removed check for empty FN field because Chrome/Chromium barfed. --- diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 77c4efc9c5e..94e3e350d71 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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(){