vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21707: LJSUP-11456: Add link Collapse to Video ...

Committer: vad
LJSUP-11456: Add link Collapse to Video block on cyr home page
Temporary hack.
U   trunk/cgi-bin/LJ/Widget.pm
Modified: trunk/cgi-bin/LJ/Widget.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget.pm	2012-04-12 13:04:40 UTC (rev 21706)
+++ trunk/cgi-bin/LJ/Widget.pm	2012-04-12 19:36:23 UTC (rev 21707)
@@ -152,6 +152,7 @@
                 return 0 unless $clpsd;
                 
                 my ($block_id) = $widget_ele_id =~ /(\d+)$/;
+                $block_id = 1; # temporary hack for r91
                 my $widget_content_id_re = $widget_content_id ? "-$widget_content_id" : "";
                 ## cookie: clpsd=block_id-content_id:block_id-content_id:...
                 return 1 if $clpsd =~ /(^|:)$block_id$widget_content_id_re(:|$)/; ## collapsed

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