madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22196: LJSUP-12509: There is no Repost button i...

Committer: sbelyaev
LJSUP-12509: There is no Repost button in reposted entry
U   trunk/cgi-bin/LJ/S2/DayPage.pm
U   trunk/cgi-bin/LJ/S2/FriendsPage.pm
U   trunk/cgi-bin/LJ/S2/RecentPage.pm
Modified: trunk/cgi-bin/LJ/S2/DayPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/DayPage.pm	2012-06-07 12:29:05 UTC (rev 22195)
+++ trunk/cgi-bin/LJ/S2/DayPage.pm	2012-06-07 12:30:19 UTC (rev 22196)
@@ -147,7 +147,7 @@
                          'posterid'          => \$posterid,
                          'security'          => \$security,
                          'allowmask'         => \$allowmask,
-                         'event'             => \$text,
+                         'event_raw'         => \$text,
                          'subject'           => \$subject,
                          'reply_count'       => \$replycount,
                          'userlite'          => \$lite_journalu, };

Modified: trunk/cgi-bin/LJ/S2/FriendsPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/FriendsPage.pm	2012-06-07 12:29:05 UTC (rev 22195)
+++ trunk/cgi-bin/LJ/S2/FriendsPage.pm	2012-06-07 12:30:19 UTC (rev 22196)
@@ -275,7 +275,7 @@
                          'posterid'          => \$posterid,
                          'security'          => \$security,
                          'allowmask'         => \$allowmask,
-                         'event_friend'      => \$text,
+                         'event_raw'         => \$text,
                          'subject'           => \$subject,
                          'reply_count'       => \$replycount, };
 

Modified: trunk/cgi-bin/LJ/S2/RecentPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/RecentPage.pm	2012-06-07 12:29:05 UTC (rev 22195)
+++ trunk/cgi-bin/LJ/S2/RecentPage.pm	2012-06-07 12:30:19 UTC (rev 22196)
@@ -180,7 +180,7 @@
                          'posterid'          => \$posterid,
                          'security'          => \$security,
                          'allowmask'         => \$allowmask,
-                         'event'             => \$text,
+                         'event_raw'         => \$text,
                          'subject'           => \$subject,
                          'reply_count'       => \$replycount,
                          'userlite'          => \$lite_journalu, };
@@ -292,7 +292,6 @@
         }
         my $pickw = LJ::Entry->userpic_kw_from_props($logprops{$itemid});
         my $userpic = Image_userpic($pu, 0, $pickw);
-        warn $pu->user;
 
         if ($security eq "public" && !$LJ::REQ_GLOBAL{'text_of_first_public_post'}) {
             $LJ::REQ_GLOBAL{'text_of_first_public_post'} = $text;
@@ -302,6 +301,7 @@
             }
         }
 
+        warn "text $text";
         my $entry = $lastentry = Entry($journalu, {
             'subject' => $subject,
             'text' => $text,

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