summaryrefslogtreecommitdiffstats
path: root/apps/contacts
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-15 09:33:33 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-15 12:28:28 +0200
commit287285880c0ed61f0b247b2cdef97cc75cf4b0a2 (patch)
tree9027a218cd40a77099dea6427317f7d963cb7097 /apps/contacts
parentce40576881b2a0894f873ad40adb43187994b5a7 (diff)
downloadnextcloud-server-287285880c0ed61f0b247b2cdef97cc75cf4b0a2.tar.gz
nextcloud-server-287285880c0ed61f0b247b2cdef97cc75cf4b0a2.zip
Removed obsolete TODO.
Diffstat (limited to 'apps/contacts')
-rw-r--r--apps/contacts/js/contacts.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index eabc368cf82..25739cc9747 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -187,16 +187,7 @@ Contacts={
}
] );
- /*$('#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.
- // TODO: Take addressbook into account
$('#fn').change(function(){
var name = $('#fn').val().strip_tags();
var item = $('.contacts li[data-id="'+Contacts.UI.Card.id+'"]');