Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19394: LJSUP-9182: journal calendar links "next...

Committer: gariev
LJSUP-9182: journal calendar links "next/prev month/year" may not lead to months with entries

U   trunk/cgi-bin/LJ/S2/HeadContent.pm
Modified: trunk/cgi-bin/LJ/S2/HeadContent.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/HeadContent.pm	2011-06-29 03:14:51 UTC (rev 19393)
+++ trunk/cgi-bin/LJ/S2/HeadContent.pm	2011-06-29 03:54:17 UTC (rev 19394)
@@ -118,10 +118,8 @@
 
     $head_content .= LJ::res_includes() . $extra_js;
     LJ::run_hooks( 'head_content', \$head_content );
-    my $calendar_json = LJ::JSON->to_json( LJ::get_calendar_data_for_month($u) );
     $head_content .= qq(<script type='text/javascript'>\n);
     $head_content .= qq(Site = window.Site || {};\n);
-    $head_content .= qq(Site.journal_calendar = $calendar_json;\n);
     $head_content .= qq(</script>\n);
 
     my $get = $opts->{'getargs'};

Tags: gariev, livejournal, pm
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