mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
ajax comments
This commit is contained in:
parent
39dd36176b
commit
df20990753
1 changed files with 3 additions and 0 deletions
|
@ -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