Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r20336: LJSV-1842: Entry text do not display whe...

Committer: mchervonniy
LJSV-1842: Entry text do not display when viewing comments thread in Tabular Indent style
U   trunk/bin/upgrading/s2layers/tabularindent/layout.s2
Modified: trunk/bin/upgrading/s2layers/tabularindent/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-10-17 09:05:53 UTC (rev 20335)
+++ trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-10-17 09:45:45 UTC (rev 20336)
@@ -804,10 +804,14 @@
 
     # Print
     print_box_open($colors, $metapic, $meta, "");
-    if (not $hide_text) { $e->print_text(); }
-    if ($p.view == "entry")
-    { print_entry_box_close($footer, $e);
-    } else { print_box_close($footer, $e); }
+    if (not $hide_text) {
+        $e->print_text();
+    }
+    if ($p.view == "entry") {
+        print_entry_box_close($footer, $e);
+    } else {
+        print_box_close($footer, $e);
+    }
 }
 
 function Page::print_entry (Entry e)
@@ -1001,7 +1005,8 @@
                                          [ "style_color", "cmtbar#", "$*comment_bar_screened_fgcolor", ],
                                          ]);
 
-    print_entry($this, $.entry, null Color, null Color, $.viewing_thread);
+    #print_entry($this, $.entry, null Color, null Color, $.viewing_thread); removed that behaviour because it is unexpect (LJSV-1842)
+    print_entry($this, $.entry, null Color, null Color, false);
     print_ebox($.entry);
     if ($.entry.comments.enabled and ($.comment_pages.total_subitems > 0 or $e.comments.spam_counter > 0))
     {

Tags: fiskus_boulder, livejournal, mchervonniy, s2
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