more robust feed error handling, at the expense of performance.

Pass profile owner through HTML (yuk) to the ajax updater - as
browser  pre-fetch totally buggers passing it via the server session.
This commit is contained in:
Mike Macgirvin
2010-09-20 19:34:44 -07:00
parent 177a6d7f79
commit 3ad52463f6
8 changed files with 181 additions and 167 deletions

View File

@@ -7,7 +7,7 @@ function network_init(&$a) {
}
function network_content(&$a, $update = false) {
function network_content(&$a, $update = 0) {
if(! local_user())
return;
@@ -59,7 +59,7 @@ function network_content(&$a, $update = false) {
// criteria is discovered in javascript).
if($a->pager['start'] == 0 && $a->argc == 1)
$o .= '<div id="live-network"></div>' . "\r\n";
$o .= '<div id="live-network" profile="' . $_SESSION['uid'] . '"></div>' . "\r\n";
}
// We aren't going to try and figure out at the item, group, and page level