wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r22825: LJSUP-13518: Navigation of calendar in s...

Committer: wisest-owl
LJSUP-13518: Navigation of calendar in sidebar not works good

U   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") {

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments