1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

Remove and forget the item instead of only detaching it.

This commit is contained in:
Mario Ferraro 2012-12-18 10:36:54 +00:00
parent f60bda4d23
commit e6ca4aa520

View File

@ -1286,7 +1286,7 @@ OC.Contacts = OC.Contacts || {};
});
$(document).bind('status.contact.updated', function(e, data) {
data.contact.getListItemElement().detach();
data.contact.getListItemElement().remove();
self.insertContact(self.contacts[parseInt(data.contact.id)].renderListItem());
});
};