summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwebcontent.cpp
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2011-07-21 17:07:57 -0700
committerAura Linden <aura@lindenlab.com>2011-07-21 17:07:57 -0700
commit74b6f5dce31b5ff69ced8e1e8cd37e4c5ded2943 (patch)
tree5242c2011c3425ef624c3f6ce59f1ce12930edae /indra/newview/llfloaterwebcontent.cpp
parent6d789f59f8d8b3d195090f972f783727037790c2 (diff)
parent8d9901718022f34e9eb93c339dda796da52d0545 (diff)
Added handling for RemoveInventoryObjects message. Fixed handling of RemoveInventoryFolder
Diffstat (limited to 'indra/newview/llfloaterwebcontent.cpp')
-rw-r--r--indra/newview/llfloaterwebcontent.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index c7c6857a47..785441a67e 100644
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -87,7 +87,15 @@ BOOL LLFloaterWebContent::postBuild()
bool LLFloaterWebContent::matchesKey(const LLSD& key)
{
- return key["target"].asString() == mKey["target"].asString();
+ LLUUID id = key["id"];
+ if (id.notNull())
+ {
+ return id == mKey["id"].asUUID();
+ }
+ else
+ {
+ return key["target"].asString() == mKey["target"].asString();
+ }
}
@@ -250,6 +258,10 @@ void LLFloaterWebContent::onOpen(const LLSD& key)
return;
}
+ if (params.target() == params.id().asString())
+ {
+ setRectControl("");
+ }
mUUID = params.id().asString();
mWebBrowser->setTrustedContent(params.trusted_content);