summaryrefslogtreecommitdiffstats
path: root/apps/contacts
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-08 23:38:03 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-08 23:38:03 +0200
commit6d123e90f30919e8d48c0b6ce6a1e871b3e6885d (patch)
tree66fd72a1f21de3e0a2070c8beb0a857cf7172fe8 /apps/contacts
parent0b6cd8d2033cf280431436e76ca3847597f6f596 (diff)
downloadnextcloud-server-6d123e90f30919e8d48c0b6ce6a1e871b3e6885d.tar.gz
nextcloud-server-6d123e90f30919e8d48c0b6ce6a1e871b3e6885d.zip
Remove deleted address book from list.
Diffstat (limited to 'apps/contacts')
-rw-r--r--apps/contacts/js/contacts.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 0ed35a6a90b..3005126b71d 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -1393,6 +1393,7 @@ Contacts={
function(jsondata) {
if (jsondata.status == 'success'){
$(obj).closest('tr').remove();
+ $('#contacts h3[data-id="'+bookid+'"],#contacts ul[data-id="'+bookid+'"]').remove();
Contacts.UI.Contacts.update();
} else {
OC.dialogs.alert(jsondata.data.message, t('contacts', 'Error'));