Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r8261: LJSV-605: LiveJournal locked fix

Committer: esavintcev
LJSV-605: LiveJournal locked fix
U   trunk/bin/upgrading/s2layers/gradient/layout.s2
Modified: trunk/bin/upgrading/s2layers/gradient/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/gradient/layout.s2	2010-03-04 11:10:11 UTC (rev 8260)
+++ trunk/bin/upgrading/s2layers/gradient/layout.s2	2010-03-04 11:13:54 UTC (rev 8261)
@@ -1407,7 +1407,9 @@
    var Page p = get_page();
    var string linktext = ( $p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment );
    var string target = "topcomment";
+if (not $.locked) {
    $p->print_reply_link({"target" => $target, "class" => "comments", "title" => "$linktext", "linktext" => $linktext, "reply_url" => $.post_url});
+}
    $p->print_reply_container({"target" => $target});
 }
 

Tags: ljcom, s2, savintsev_egor
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