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

[livejournal] r22626: LJSUP-13271: Trace messages from basicWi...

Committer: anazarov
LJSUP-13271: Trace messages from basicWidget pub/sub system in real time
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-08-13 10:14:38 UTC (rev 22625)
+++ trunk/cgi-bin/weblib.pl	2012-08-13 10:42:10 UTC (rev 22626)
@@ -1585,7 +1585,7 @@
 
         LJ::run_hooks('add_to_site_js', \%site);
 
-        LJ::need_var(D => \%LJ::JS_D);
+        LJ::need_var(D => \%LJ::JS_D) unless exists $LJ::JSVAR{'D'};
 
         my $site_params = LJ::js_dumper(\%site);
 

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