can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17819: LJSUP-7240: ControlStrip. Return control...

Committer: dpetrov
LJSUP-7240: ControlStrip. Return controlstrip ajax load script
U   trunk/htdocs/js/controlstrip.js
Modified: trunk/htdocs/js/controlstrip.js
===================================================================
--- trunk/htdocs/js/controlstrip.js	2010-11-29 11:10:57 UTC (rev 17818)
+++ trunk/htdocs/js/controlstrip.js	2010-11-30 03:08:57 UTC (rev 17819)
@@ -1,3 +1,15 @@
+jQuery(function($){
+	!document.getElementById('lj_controlstrip') &&
+	!document.getElementById('lj_controlstrip_new') &&
+		$.get(LiveJournal.getAjaxUrl('controlstrip'),
+			{ user: Site.currentJournal },
+			function(data)
+			{
+				$(data).appendTo(document.body).ljAddContextualPopup();
+			}
+		);
+});
+
 (function( $, top ) {
 
 var ControlStrip = top.ControlStrip = {};

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