1
1
Fork 0

ajax comments

This commit is contained in:
Friendika 2011-02-14 04:43:49 -08:00
parent 39dd36176b
commit df20990753

View file

@ -492,6 +492,9 @@ function item_post(&$a) {
if((x($_POST,'return')) && strlen($_POST['return'])) if((x($_POST,'return')) && strlen($_POST['return']))
goaway($a->get_baseurl() . "/" . $_POST['return'] ); goaway($a->get_baseurl() . "/" . $_POST['return'] );
$json = array('success' => 1);
echo json_encode($json);
killme(); killme();
// NOTREACHED // NOTREACHED
} }