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:
parent
f60bda4d23
commit
e6ca4aa520
@ -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());
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user