mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +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']))
|
||||
goaway($a->get_baseurl() . "/" . $_POST['return'] );
|
||||
|
||||
$json = array('success' => 1);
|
||||
echo json_encode($json);
|
||||
killme();
|
||||
// NOTREACHED
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue