can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17369: LJSV-1210: If you click expand button on...

Committer: dpetrov
LJSV-1210: If you click expand button on a first message in Inbox, the page reloads.
U   trunk/cgi-bin/LJ/Widget/InboxFolder.pm
Modified: trunk/cgi-bin/LJ/Widget/InboxFolder.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2010-09-14 06:52:29 UTC (rev 17368)
+++ trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2010-09-14 08:19:58 UTC (rev 17369)
@@ -157,7 +157,7 @@
             my $img = $expanded ? "expand.gif" : "collapse.gif";
 
             $expandbtn = qq {
-                <a href="$LJ::SITEROOT/inbox/?page=$page&expand=$qid"><img src="$LJ::IMGPREFIX/$img" class="InboxItem_Expand" border="0" /></a>
+                <a href="$LJ::SITEROOT/inbox/?page=$page&expand=$qid"><img src="$LJ::IMGPREFIX/$img" class="InboxItem_Expand" border="0" onclick="return false" /></a>
                 };
 
             my $display = $expanded ? "block" : "none";

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