summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2010-01-19 11:06:17 +0800
committerangela <angela@lindenlab.com>2010-01-19 11:06:17 +0800
commit52baeb34b38d20f4bde5ee931621377ef9e4cb31 (patch)
treeb0905bed11d10540b119c1bc9d21978a5f917dbf /indra/newview/llinventorybridge.cpp
parent798e33767f89bac520d6598259f003680d64d4da (diff)
EXT-4269 PDD: Add teleport destination to teleport warning dialog
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index e9176da715..eacda5ad28 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -5093,8 +5093,12 @@ void LLLandmarkBridgeAction::doIt()
// Opening (double-clicking) a landmark immediately teleports,
// but warns you the first time.
LLSD payload;
- payload["asset_id"] = item->getAssetUUID();
- LLNotificationsUtil::add("TeleportFromLandmark", LLSD(), payload);
+ payload["asset_id"] = item->getAssetUUID();
+
+ LLSD args;
+ args["LOCATION"] = item->getDisplayName();
+
+ LLNotificationsUtil::add("TeleportFromLandmark", args, payload);
}
LLInvFVBridgeAction::doIt();