aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-14 04:43:49 -0800
committerFriendika <info@friendika.com>2011-02-14 04:43:49 -0800
commitdf209907536a3c5e093b8ae95070ca9941c6c797 (patch)
tree0827adf015e003359b0d9213ff05432b621d0eab /mod
parent39dd36176bb3c72702d6964394d9409be4d6cdcd (diff)
downloadvolse-hubzilla-df209907536a3c5e093b8ae95070ca9941c6c797.tar.gz
volse-hubzilla-df209907536a3c5e093b8ae95070ca9941c6c797.tar.bz2
volse-hubzilla-df209907536a3c5e093b8ae95070ca9941c6c797.zip
ajax comments
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 0d9a674f2..2cc2b9eb2 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -492,6 +492,9 @@ function item_post(&$a) {
if((x($_POST,'return')) && strlen($_POST['return']))
goaway($a->get_baseurl() . "/" . $_POST['return'] );
+
+ $json = array('success' => 1);
+ echo json_encode($json);
killme();
// NOTREACHED
}