Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20753: LJSUP-10671: Incorrect working commentin...

Committer: anazarov
LJSUP-10671: Incorrect working commenting form. Button "Post comment" was disabled
U   trunk/htdocs/talkpost_do.bml
Modified: trunk/htdocs/talkpost_do.bml
===================================================================
--- trunk/htdocs/talkpost_do.bml	2011-12-09 15:22:02 UTC (rev 20752)
+++ trunk/htdocs/talkpost_do.bml	2011-12-12 07:09:06 UTC (rev 20753)
@@ -524,7 +524,8 @@
         $add .= '&need_captcha=1' if $need_captcha;
         $add .= '&hidden=screened&message='. $ML{'talk.error.commentscreened'} if $comment->{'state'} eq 'S';
         $add .= '&hidden=spammed&message='.  $ML{'talk.error.commentspammed'}  if $comment->{'state'} eq 'B';
-        $user_url = $user? $user->journal_base : '';
+        # LJSUP-10671
+        $user_url = $GET{'mode'} eq 'reply'? $user? $user->journal_base : '' : $LJ::SITEROOT;
         return qq(
 <!DOCTYPE html>
 <html>

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