summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-03-25 09:04:01 +0200
committerPaul Guslisty <pguslisty@productengine.com>2010-03-25 09:04:01 +0200
commitd5d9668a59895874951fb3e5927ea0159270a6e8 (patch)
tree399972f600e972976bc08982b7024d76c6c4e435 /indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml
parent7fa6e0ad6c7a916b45ca1ff7f6603ca2a5726a97 (diff)
Fixed low bug EXT-6488 (Teleport menuitem is enabled for offline residents in the context menu and inspectors)
- Added a check for a teleport offer ability. In XML created a paremeter and check it in source code. Reviewed by Leyla Farazha at https://codereview.productengine.com/secondlife/r/86/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml')
-rw-r--r--indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml
index 1b002b1c32..a5ac5f76e1 100644
--- a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml
+++ b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml
@@ -40,6 +40,8 @@
name="teleport">
<menu_item_call.on_click
function="InspectAvatar.Teleport"/>
+ <menu_item_call.on_enable
+ function="InspectAvatar.Gear.EnableTeleportOffer"/>
</menu_item_call>
<menu_item_call
label="Invite to Group"