Committer: ssafronova
LJSUP-7876U trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl =================================================================== --- trunk/cgi-bin/weblib.pl 2011-02-07 09:44:54 UTC (rev 18225) +++ trunk/cgi-bin/weblib.pl 2011-02-07 10:39:51 UTC (rev 18226) @@ -1372,6 +1372,8 @@ $site{inbox_unread_count} = $remote->notification_inbox->unread_count if $remote and LJ::is_enabled('inbox_unread_count_in_head'); + LJ::run_hooks('add_to_site_js', \%site); + my $site_params = LJ::js_dumper(\%site); # include standard JS info