madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20259: LJSUP-9814: link is restored

Committer: sbelyaev
LJSUP-9814: link is restored
U   trunk/cgi-bin/ljprotocol.pl
U   trunk/htdocs/editjournal.bml
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2011-10-08 09:12:42 UTC (rev 20258)
+++ trunk/cgi-bin/ljprotocol.pl	2011-10-08 22:18:12 UTC (rev 20259)
@@ -2641,8 +2641,8 @@
 
             $entry->update($req);
             if ( LJ::DelayedEntry::is_future_date($req) ) {
-                warn "delayed usual";
-                $res->{type} = 'delayed';
+                $res->{type} = 'delayed';   
+                $res->{delayedid} = $delayedid;
             } else {
                 my $out = $entry->convert;
 

Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-10-08 09:12:42 UTC (rev 20258)
+++ trunk/htdocs/editjournal.bml	2011-10-08 22:18:12 UTC (rev 20259)
@@ -490,7 +490,7 @@
                 my $journalu = $usejournal ? $usejournal_u : $remote;
                 my $j_base = $journalu->journal_base;
                 my $entry_url = '';
-                if ($entry_obj->is_delayed && $res->{itemid}) {
+                if ($entry_obj->is_delayed) {
                     if (!$res->{itemid}) {
                         $entry_url = $entry_obj->url;
                     } else {

Tags: bml, livejournal, madeon, pl, 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