diff options
author | Friendika <info@friendika.com> | 2011-02-16 21:17:49 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-16 21:17:49 -0800 |
commit | 4bff52990e5f340cf879abf7c1cdaea7ee928d74 (patch) | |
tree | 6b97ae3fe0430f3c94565692cc97da81f0065de8 /mod/photos.php | |
parent | c397a2f89bf3c2c609852f5bfc618c1d0cb0b709 (diff) | |
download | volse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.tar.gz volse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.tar.bz2 volse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.zip |
ajax reload fixes
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mod/photos.php b/mod/photos.php index a44eb5a5f..27cb1beb1 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1048,7 +1048,8 @@ function photos_content(&$a) { if($can_post || can_write_wall($a,$owner_uid)) { if($link_item['last-child']) { $o .= replace_macros($cmnt_tpl,array( - '$return_path' => '', // $return_url, + '$return_path' => '', + '$jsreload' => $return_url, '$type' => 'wall-comment', '$id' => $link_item['id'], '$parent' => $link_item['id'], @@ -1087,7 +1088,8 @@ function photos_content(&$a) { if($can_post || can_write_wall($a,$owner_uid)) { if($link_item['last-child']) { $o .= replace_macros($cmnt_tpl,array( - '$return_path' => $return_url, + '$return_path' => '', + '$jsreload' => $return_url, '$type' => 'wall-comment', '$id' => $link_item['id'], '$parent' => $link_item['id'], @@ -1115,7 +1117,8 @@ function photos_content(&$a) { if($item['last-child']) { $comment = replace_macros($cmnt_tpl,array( - '$return_path' => $return_url, + '$return_path' => '', + '$jsreload' => $return_url, '$type' => 'wall-comment', '$id' => $item['item_id'], '$parent' => $item['parent'], |