can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r19127: LJSUP-8687: HTML-coding ?\194?\171friend...

Committer: dpetrov
LJSUP-8687: HTML-coding ?\194?\171friends page Tags?\194?\187
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-05-25 07:50:15 UTC (rev 19126)
+++ trunk/htdocs/js/contextualhover.js	2011-05-25 08:06:52 UTC (rev 19127)
@@ -503,6 +503,14 @@
 			}
 		})
 		.appendTo(content);
+		if( data.is_friend ) {
+			content.appendChild(bar.cloneNode(true));
+			jQuery('<a/>', {
+				href: data.url_addfriend,
+				text: data.ml_edit_friend_tags
+			})
+			.appendTo(content);
+		}
 		content.appendChild(document.createElement('br'));
 	}
 	

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