]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: removed check for empty FN field because Chrome/Chromium barfed.
authorThomas Tanghus <thomas@tanghus.net>
Wed, 16 May 2012 21:45:43 +0000 (23:45 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Wed, 16 May 2012 21:45:43 +0000 (23:45 +0200)
apps/contacts/js/contacts.js

index 77c4efc9c5ed72c646a2f7d283522224273d28dc..94e3e350d71d7da379bb7a23d9105150ef18c33e 100644 (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(){