Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r20270: LJSUP-9998: Need add new variable in con...

Committer: amyshkin
LJSUP-9998: Need add new variable in contextual popup
U   trunk/htdocs/js/contextualhover.js
U   trunk/htdocs/tools/endpoints/ctxpopup.bml
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-10-11 05:15:36 UTC (rev 20269)
+++ trunk/htdocs/js/contextualhover.js	2011-10-11 06:28:49 UTC (rev 20270)
@@ -431,7 +431,7 @@
 				buildObject.banCheckboxes.push({
 					selector: '.ban_user',
 					className: 'ban_user',
-					label: data.ml_ban,
+					label: data.ml_ban_in_my,
 					checked: data.is_banned,
 					change: function(e)
 					{

Modified: trunk/htdocs/tools/endpoints/ctxpopup.bml
===================================================================
--- trunk/htdocs/tools/endpoints/ctxpopup.bml	2011-10-11 05:15:36 UTC (rev 20269)
+++ trunk/htdocs/tools/endpoints/ctxpopup.bml	2011-10-11 06:28:49 UTC (rev 20270)
@@ -129,8 +129,8 @@
         $ret{alias_title} = $ret{alias} ne '' ? $ML{'.editalias.title'} : $ML{'.addalias.title'};
     }
     
-    my @ml_keys = qw/ 
-        add_friend ban community edit_friend_tags feed join_community journal leave 
+    my @ml_keys = qw/
+        add_friend ban ban_in_my community edit_friend_tags feed join_community journal leave 
         lists_as_friend loading mutual_friend profile remove_friend
         report send_gift buy_same_userhead send_message stop_community subscribe_feed
         this_is_you unban unsubscribe_feed updating view watch_community

Tags: amyshkin, bml, js, livejournal, zilogic
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