diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 85ee3afb0..0280e83f9 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -578,7 +578,7 @@ function onContactMailTo(node) { function refreshContacts(contactId) { openContactsFolder(currentContactFolder, "reload=true"); - cachedContacts[currentContactFolder + "/" + idx] = null; + cachedContacts[currentContactFolder + "/" + contactId] = null; loadContact(contactId); return false;