summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-07-05 16:51:04 -0700
committerRichard Linden <none@none>2011-07-05 16:51:04 -0700
commitaecfaef10c41dce7395c3a02dcd84a39b6ffbeee (patch)
tree7d6c89975972e662264ca6ce4a836ba0b8fdf707 /indra/newview/llavataractions.cpp
parent37bc2b2fe89674b3ffbd4e2152554e05cdf6abe3 (diff)
EXP-982 FIX As a user, I would like to see the new web-based profiles without any browser chrome and at an appropriate default size
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r--indra/newview/llavataractions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index eeb4ec8458..b2d97a796a 100644
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -313,7 +313,9 @@ static void on_avatar_name_show_profile(const LLUUID& agent_id, const LLAvatarNa
std::string url = getProfileURL(username);
// PROFILES: open in webkit window
- LLWeb::loadWebURLInternal(url, "", agent_id.asString());
+ const bool show_chrome = false;
+ static LLCachedControl<LLRect> profile_rect(gSavedSettings, "WebProfileRect");
+ LLFloaterWebContent::create(url, "", agent_id.asString(), show_chrome, profile_rect);
}
// static