diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-04 12:56:48 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-04 13:14:31 +0200 |
commit | 2842088b755af8aac1b3896a9cff2a53049b44ce (patch) | |
tree | 1651ca659038a372a4c2f15c929aa43ede0417ff /apps/contacts | |
parent | 855f404e5c2ea1cee67b5261b66eed2d7c3514de (diff) | |
download | nextcloud-server-2842088b755af8aac1b3896a9cff2a53049b44ce.tar.gz nextcloud-server-2842088b755af8aac1b3896a9cff2a53049b44ce.zip |
Contacts: When editing photo on a newly created contact the name in the contact list was cleared.
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/js/contacts.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 61591782064..df3b59c349a 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -170,6 +170,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()) { |