Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19225: LJSUP-8984: Sort by poster - contextual ...

Committer: gariev
LJSUP-8984: Sort by poster - contextual popup

U   trunk/htdocs/tools/endpoints/ctxpopup.bml
Modified: trunk/htdocs/tools/endpoints/ctxpopup.bml
===================================================================
--- trunk/htdocs/tools/endpoints/ctxpopup.bml	2011-06-03 08:13:17 UTC (rev 19224)
+++ trunk/htdocs/tools/endpoints/ctxpopup.bml	2011-06-03 08:25:07 UTC (rev 19225)
@@ -186,6 +186,13 @@
             }
         }
     }
+    
+    ## current journal info
+    my $journalu = LJ::get_active_journal();
+    if ($journalu) {
+        my %journal_info = $journalu->info_for_js;
+        $ret{active_journal} = \%journal_info;
+    }
 
     $ret{success} = 1;
     return LJ::JSON->to_json(\%ret);

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