vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21553: LJSUP-11651: Add release number into par...

Committer: vad
LJSUP-11651: Add release number into param of version for RTE static files
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-03-27 10:44:53 UTC (rev 21552)
+++ trunk/cgi-bin/weblib.pl	2012-03-27 11:21:46 UTC (rev 21553)
@@ -1427,6 +1427,7 @@
 
         my $journal_info_json = LJ::JSON->to_json(\%journal_info);
         my $jsml_out = LJ::JSON->to_json(\%LJ::JSML);
+        my $site_version = LJ::ejs($LJ::CURRENT_VERSION);
         $ret_js .= qq {
             <script type="text/javascript">
                 Site = window.Site || {};
@@ -1436,6 +1437,7 @@
                     for (i in p) Site[i] = p[i];
                 })();
                 Site.current_journal = $journal_info_json;
+                Site.version = '$site_version';
            </script>
         };
 

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