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

[livejournal] r23523: LJSUP-14752: SiteMessage show message in...

Committer: anazarov
LJSUP-14752: SiteMessage show message in wrong locale
U   trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js
===================================================================
--- trunk/htdocs/js/basic.js	2013-01-10 07:54:31 UTC (rev 23522)
+++ trunk/htdocs/js/basic.js	2013-01-10 08:40:12 UTC (rev 23523)
@@ -1766,7 +1766,7 @@
 		get: function () {
 			var that = this;
 
-			LJ.Api.call('sitemessage.get_message', {}, function (content) {
+			LJ.Api.call('sitemessage.get_message', { locale: Site.locale }, function (content) {
 				that.show(content);
 			});
 		},

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