Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r17162: LJSUP-6506: When the user move cursor to...

Committer: szhirkov
LJSUP-6506: When the user move cursor to userpic or userhead in pop-up window does not appear able to upgrade your account
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2010-08-20 01:54:13 UTC (rev 17161)
+++ trunk/htdocs/js/contextualhover.js	2010-08-20 03:01:07 UTC (rev 17162)
@@ -559,6 +559,17 @@
 		content.appendChild(document.createElement('br'));
 	}
 	
+	// identity
+	if (data.is_identity) {
+		jQuery('<a/>', {
+			href: Site.siteroot + '/identity/convert.bml',
+			text: data.ml_upgrade_account
+		})
+		.appendTo(content);
+		
+		content.appendChild(document.createElement('br'));
+	}
+	
 	// view label
 	content.appendChild(document.createTextNode(data.ml_view));
 	

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