summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/editaddress.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/editaddress.php')
-rw-r--r--apps/contacts/ajax/editaddress.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/contacts/ajax/editaddress.php b/apps/contacts/ajax/editaddress.php
index 9fb35a0b5f7..969aeeba8f4 100644
--- a/apps/contacts/ajax/editaddress.php
+++ b/apps/contacts/ajax/editaddress.php
@@ -26,6 +26,7 @@ if($checksum) {
$tmpl->assign('id',$id);
$tmpl->assign('adr_types',$adr_types);
-$tmpl->printpage();
+$page = $tmpl->fetchPage();
+OCP\JSON::success(array('data' => array('page'=>$page, 'checksum'=>$checksum)));
?>