ajax reload fixes

This commit is contained in:
Friendika 2011-02-16 21:17:49 -08:00
parent c397a2f89b
commit 4bff52990e
7 changed files with 26 additions and 8 deletions

View file

@ -153,7 +153,8 @@ function display_content(&$a) {
}
if($item['last-child']) {
$comment = replace_macros($cmnt_tpl,array(
'$return_path' => '', // $_SESSION['return_url'],
'$return_path' => '',
'$jsreload' => $_SESSION['return_url'],
'$type' => 'wall-comment',
'$id' => $item['item_id'],
'$parent' => $item['parent'],