From d2166784813ad161fe3118e2faf325fdeb93fc3c Mon Sep 17 00:00:00 2001
From: Thomas Tanghus <thomas@tanghus.net>
Date: Wed, 16 May 2012 23:45:43 +0200
Subject: [PATCH] Contacts: removed check for empty FN field because
 Chrome/Chromium barfed.

---
 apps/contacts/js/contacts.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 77c4efc9c5..94e3e350d7 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(){
-- 
GitLab