Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[ljcom] r10139: LJINT-411: sync of LJ-iframes

Committer: szhirkov
LJINT-411: sync of LJ-iframes
U   trunk/htdocs/js/partners/xdreceiver.js
Modified: trunk/htdocs/js/partners/xdreceiver.js
===================================================================
--- trunk/htdocs/js/partners/xdreceiver.js	2011-02-28 10:23:46 UTC (rev 10138)
+++ trunk/htdocs/js/partners/xdreceiver.js	2011-02-28 10:30:11 UTC (rev 10139)
@@ -1,5 +1,5 @@
 var search = location.search.replace('?','').split("&"),
-vars = { replyto: null, comment_id: null, mode: 'add_comment', logged_in: null };
+vars = { replyto: null, comment_id: null, mode: 'add_comment', logged_in: null, from: 'logcom' || 'loginstatus' };
 
 for( var i = 0 ; i < search.length; ++i ) {
 	var arr = search[ i ].split('=');
@@ -9,7 +9,7 @@
 }
 
 if( vars.logged_in ) {
-	window.top.LJStoreUserState( vars.logged_in );
+	window.top.LJStoreUserState( vars.logged_in, vars.from );
 }
 
 if( vars.mode == 'check' || vars.mode == 'check_domain' ) {

Tags: aralot, js, ljcom
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