can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r19172: LJSUP-8896: Button "Select tags" shouldn...

Committer: dpetrov
LJSUP-8896: Button "Select tags" shouldn't appear if the user wants to add as a friend identity account
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-05-30 09:05:24 UTC (rev 19171)
+++ trunk/htdocs/js/contextualhover.js	2011-05-30 09:06:35 UTC (rev 19172)
@@ -503,7 +503,7 @@
 			}
 		})
 		.appendTo(content);
-		if( data.is_friend ) {
+		if( data.is_friend && !data.is_identity ) {
 			content.appendChild(bar.cloneNode(true));
 			jQuery('<a/>', {
 				href: data.url_addfriend,

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