Committer: vsukhanov
LJSUP-7010: optimize comments loadingU trunk/cgi-bin/LJ/S2/EntryPage.pm U trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/EntryPage.pm 2010-09-29 08:51:54 UTC (rev 17466) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2010-09-29 10:14:02 UTC (rev 17467) @@ -93,8 +93,9 @@ 'up' => LJ::load_user($s2entry->{'poster'}->{'username'}), 'viewall' => $viewall, 'expand_all' => $opts->{expand_all}, + 'init_comobj' => 0, }; - + ## Expand all comments on page unless ($LJ::DISABLED{allow_expand_all_comments}){ $copts->{expand_all} = 1 if $get->{expand} eq 'all'; Modified: trunk/htdocs/talkread.bml =================================================================== --- trunk/htdocs/talkread.bml 2010-09-29 08:51:54 UTC (rev 17466) +++ trunk/htdocs/talkread.bml 2010-09-29 10:14:02 UTC (rev 17467) @@ -459,6 +459,7 @@ 'userref' => \%user, 'up' => $up, 'viewall' => $viewall, + 'init_comobj' => 0, }; ## Expand all comments on page