ajax comments
This commit is contained in:
parent
39dd36176b
commit
df20990753
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue