Fix $.view so that it shows 'network' on the network page.
Patch by afuna.
diffs (12 lines):
diff -r fe91fe551e64 -r 3743ffa4a22d cgi-bin/LJ/S2/FriendsPage.pm
--- a/cgi-bin/LJ/S2/FriendsPage.pm Sun Sep 13 04:50:47 2009 +0000
+++ b/cgi-bin/LJ/S2/FriendsPage.pm Sun Sep 13 04:54:03 2009 +0000
@@ -15,7 +15,7 @@ sub FriendsPage
my $p = Page($u, $opts);
$p->{'_type'} = "FriendsPage";
- $p->{view} = "read";
+ $p->{view} = $opts->{view} eq "network" ? "network" : "read";
$p->{'entries'} = [];
$p->{'friends'} = {};
$p->{'friends_title'} = LJ::ehtml($u->{'friendspagetitle'});
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog