Committer: wisest-owl
LJSUP-13518: Navigation of calendar in sidebar not works goodU trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm =================================================================== --- trunk/cgi-bin/LJ/S2.pm 2012-09-06 12:25:19 UTC (rev 22824) +++ trunk/cgi-bin/LJ/S2.pm 2012-09-06 12:40:56 UTC (rev 22825) @@ -47,9 +47,6 @@ my ($entry, $page); my $con_opts = {}; - LJ::Widget::Calendar->render() - unless LJ::run_hook('show_control_strip', { user => $u->{user} }); - if ($view eq "res") { # the s1shortcomings virtual styleid doesn't have a styleid # so we're making the rule that it can't have resource URLs. @@ -88,6 +85,9 @@ # have been served from this Apache process yet BML::set_language($lang, \&LJ::Lang::get_text); + LJ::Widget::Calendar->render() + unless LJ::run_hook('show_control_strip', { user => $u->{user} }); + # let layouts disable EntryPage / ReplyPage, using the BML version # instead. unless ($styleid eq "s1short") {