if (!$update) {
$live_update_div = '<div id="live-notes"></div>' . "\r\n"
. "<script> var profile_uid = " . $this->session->getLocalUserId()
- . "; var netargs = '/?f='; </script>\r\n";
+ . "; var netargs = '?f='; </script>\r\n";
}
} elseif ($mode === 'display') {
$items = $this->addChildren($items, false, $order, $uid, $mode);
if (!$update) {
$live_update_div = '<div id="live-contact"></div>' . "\r\n"
. "<script> var profile_uid = -1; var netargs = '" . substr($this->args->getCommand(), 8)
- ."/?f='; </script>\r\n";
+ ."?f='; </script>\r\n";
}
} elseif ($mode === 'search') {
$live_update_div = '<div id="live-search"></div>' . "\r\n";
'/update_community[/{content}]' => [Module\Update\Community::class, [R::GET]],
- '/update_display[/]' => [Module\Update\Display::class, [R::GET]],
+ '/update_display' => [Module\Update\Display::class, [R::GET]],
'/update_network' => [
'[/]' => [Module\Update\Network::class, [R::GET]],
var orgHeight = $("section").height();
- var udargs = ((netargs.length) ? '/' + netargs : '');
+ var udargs = ((netargs.length) ? netargs : '');
var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&force=' + (force ? 1 : 0) + '&item=' + update_item;