From: Thomas Tanghus Date: Tue, 21 Feb 2012 22:15:26 +0000 (+0100) Subject: JS fix on address book creation. X-Git-Tag: v4.0.0beta~32^2~34^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e0c92662f837161fc45cc6bd60485d113b324345;p=nextcloud-server.git JS fix on address book creation. --- diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 0e06b650a18..11661320c59 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -1076,7 +1076,7 @@ Contacts={ $.post(url, { id: bookid, name: displayname, active: active, description: description }, function(jsondata){ if(jsondata.status == 'success'){ - $(button).closest('tr').prev().html(data.page).show().next().remove(); + $(button).closest('tr').prev().html(jsondata.page).show().next().remove(); Contacts.UI.Contacts.update(); } else { Contacts.UI.messageBox(t('contacts', 'Error'), jsondata.data.message);