Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19891: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/htdocs/talkpost_do.bml
Modified: trunk/htdocs/talkpost_do.bml
===================================================================
--- trunk/htdocs/talkpost_do.bml	2011-08-30 08:28:36 UTC (rev 19890)
+++ trunk/htdocs/talkpost_do.bml	2011-08-30 08:34:08 UTC (rev 19891)
@@ -362,6 +362,7 @@
         $ret .= "<h1>$ML{'.success.title'}</h1>";
 
         my $mlcode;
+        my $SC = '/talkpost_do.bml';
         my ($curl, $cadr);
 
         if ( $commentlink =~ /^(.+)(\#.+)$/ ) {
@@ -391,13 +392,13 @@
                 $mlcode = $POST{'usertype'} eq 'anonymous'
                     ? '.success.screened.comm.anon2'
                     : '.success.screened.comm2';
-                return $redirect->($curl . '&screen=' . $mlcode . $cadr) if $ajax;
+                return $redirect->($curl . '&screen=' . "$SC$mlcode" . $cadr) if $ajax;
             }
             else {
                 $mlcode = $POST{'usertype'} eq 'anonymous'
                     ? '.success.screened.user.anon2'
                     : '.success.screened.user2';
-                return $redirect->($curl . '&screen=' . $mlcode . $cadr) if $ajax;
+                return $redirect->($curl . '&screen=' . "$SC$mlcode" . $cadr) if $ajax;
             }
         }
 

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