aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-02-21 23:15:26 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-02-21 23:22:06 +0100
commite0c92662f837161fc45cc6bd60485d113b324345 (patch)
tree27ab19035fb44cfd97d94002081bab90165a0340
parenta79f5d40de9b6cdcd8e0111505852ec10ddb91e8 (diff)
downloadnextcloud-server-e0c92662f837161fc45cc6bd60485d113b324345.tar.gz
nextcloud-server-e0c92662f837161fc45cc6bd60485d113b324345.zip
JS fix on address book creation.
-rw-r--r--apps/contacts/js/contacts.js2
1 files changed, 1 insertions, 1 deletions
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);