]> git.mxchange.org Git - friendica.git/commitdiff
ajax comments
authorFriendika <info@friendika.com>
Mon, 14 Feb 2011 12:43:49 +0000 (04:43 -0800)
committerFriendika <info@friendika.com>
Mon, 14 Feb 2011 12:43:49 +0000 (04:43 -0800)
mod/item.php

index 0d9a674f23efceb6d4893e6f0b4aea5932b10a83..2cc2b9eb2cd9a1564cc8cedbb7e0224283a550c3 100644 (file)
@@ -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
 }