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
commitb182122546d84d2c13b64c2fe72c6c9c7c0c4ae1 (patch)
treecde8518d82ec266c6c728f03cf03134fbf1a5b39 /indra/newview/llpanelplaces.cpp
parent69e6c4d947064104f674c0f2dee6750c845d30cf (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 f9ba6f625d..b4bf2125cc 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 ||