can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20217: LJSUP-9994: Add username for all context...

Committer: dpetrov
LJSUP-9994: Add username for all contextual pop-up (for users)
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-10-04 07:28:12 UTC (rev 20216)
+++ trunk/htdocs/js/contextualhover.js	2011-10-04 07:38:02 UTC (rev 20217)
@@ -141,7 +141,7 @@
 					'</div>' +
 					'{{/if}}' +
 					'<div class="b-contextualhover-title">' +
-						'<h3>${title.title}</h3>' +
+						'<h3>{{html title.title}}</h3>' +
 						'{{each headLinks}}<p><a href="${$value.url}">${$value.text}</a></p>{{/each}}' +
 					'</div>' +
 					'{{each(i, group) linkGroups}}' +
@@ -267,7 +267,7 @@
 				if (data.is_requester) {
 					label = data.ml_this_is_you;
 				} else {
-					label = '';
+					label = '<strong>' + data.username + ' </strong>';
 					
 					if (data.is_friend_of) {
 						if (data.is_friend)

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