diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 34afdcc4e41..452ad2b3612 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -162,6 +162,7 @@ Contacts={ var name = $('#fn').val().strip_tags(); var item = $('#contacts [data-id="'+Contacts.UI.Card.id+'"]'); $(item).find('a').html(name); + Contacts.UI.Card.fn = name; var added = false; $('#contacts li').each(function(){ if ($(this).text().toLowerCase() > name.toLowerCase()) {