preliminary ajax comment setups
This commit is contained in:
parent
4081ebe6c5
commit
3d9845f4a4
|
@ -490,7 +490,9 @@ function item_post(&$a) {
|
|||
}
|
||||
}
|
||||
|
||||
if((x($_POST,'return')) && strlen($_POST['return']))
|
||||
goaway($a->get_baseurl() . "/" . $_POST['return'] );
|
||||
killme();
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
|
|
@ -340,7 +340,7 @@ function network_content(&$a, $update = 0) {
|
|||
|
||||
if($item['last-child']) {
|
||||
$comment = replace_macros($cmnt_tpl,array(
|
||||
'$return_path' => $_SESSION['return_url'],
|
||||
'$return_path' => '', // $_SESSION['return_url'],
|
||||
'$type' => 'net-comment',
|
||||
'$id' => $item['item_id'],
|
||||
'$parent' => $item['parent'],
|
||||
|
|
|
@ -293,7 +293,7 @@ function profile_content(&$a, $update = 0) {
|
|||
}
|
||||
if($item['last-child']) {
|
||||
$comment = replace_macros($cmnt_tpl,array(
|
||||
'$return_path' => $_SESSION['return_url'],
|
||||
'$return_path' => '', // $_SESSION['return_url'],
|
||||
'$type' => 'wall-comment',
|
||||
'$id' => $item['item_id'],
|
||||
'$parent' => $item['parent'],
|
||||
|
|
|
@ -18,4 +18,5 @@
|
|||
|
||||
<div class="comment-edit-end"></div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user