vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21969: LJSUP-12209: Improvement for system mess...

Committer: vad
LJSUP-12209: Improvement for system message panel
U   trunk/cgi-bin/LJ/Widget/SiteMessages.pm
Modified: trunk/cgi-bin/LJ/Widget/SiteMessages.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SiteMessages.pm	2012-05-15 15:08:28 UTC (rev 21968)
+++ trunk/cgi-bin/LJ/Widget/SiteMessages.pm	2012-05-15 19:11:49 UTC (rev 21969)
@@ -51,6 +51,15 @@
         }
     } else {
         my $message = LJ::SiteMessages->get_open_message;
+
+        ## quick hack for just one message
+        ## can be removed after r92.
+        eval {
+            my $uri = LJ::Request->uri;
+            ## show this message only on /update.bml page
+            $message = '' if $message and $message->{mid} eq 88 and $uri !~ m|/update.bml|;
+        };
+
         if ($message) {
             $ret .= $class->_format_one_message($message);
         }

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