summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-30 15:51:40 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-30 15:51:40 +0100
commit7b801ca15de795c12b81a0e348d145881168e8ef (patch)
tree0d3523e642f3cf5d13160dc1d5cb2c65f93cf463 /indra/newview/llpanelplaces.cpp
parent088a878f42e8ed4c2b1f63bea100ad47ac69d1f5 (diff)
EXT-6589 "Are you sure you want to teleport.." dialog has broken "[LOCATION]" tag
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rw-r--r--indra/newview/llpanelplaces.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 34cef1bee7..54455afa4f 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -551,7 +551,9 @@ void LLPanelPlaces::onTeleportButtonClicked()
{
LLSD payload;
payload["asset_id"] = mItem->getAssetUUID();
- LLNotificationsUtil::add("TeleportFromLandmark", LLSD(), payload);
+ LLSD args;
+ args["LOCATION"] = mItem->getName();
+ LLNotificationsUtil::add("TeleportFromLandmark", args, payload);
}
else if (mPlaceInfoType == AGENT_INFO_TYPE ||
mPlaceInfoType == REMOTE_PLACE_INFO_TYPE ||