mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Updates for community pages do work now
This commit is contained in:
parent
b677bdd4ff
commit
ade987db47
3 changed files with 10 additions and 8 deletions
|
@ -578,11 +578,11 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
|
|||
$items = community_add_items($items);
|
||||
}
|
||||
$profile_owner = 0;
|
||||
// Currently deactivated. Will be activated when we can comment on the community page
|
||||
// if (!$update) {
|
||||
// $live_update_div = '<div id="live-community"></div>' . "\r\n"
|
||||
// . "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
|
||||
// }
|
||||
if (!$update) {
|
||||
$live_update_div = '<div id="live-community"></div>' . "\r\n"
|
||||
. "<script> var profile_uid = -1; var netargs = '" . substr($a->cmd, 10)
|
||||
."/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
|
||||
}
|
||||
} elseif ($mode === 'search') {
|
||||
$live_update_div = '<div id="live-search"></div>' . "\r\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue