diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-09-30 23:35:48 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-09-30 23:35:48 +0300 |
commit | 9862c58e1b3eec24e412ee7c2980d2945c38360e (patch) | |
tree | 66dbdb3bb355341669c1883f3007b3e83d796f0b /indra | |
parent | 4b414302cf97922b5200814b0ea1d3ddcd0b3b58 (diff) |
STORM-215 FIXED Disabled URL highlighting in name_box'es.
By the way, fixed invalid SLURLs that LLNameBox generated for groups.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llnamebox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llnamebox.cpp b/indra/newview/llnamebox.cpp index 74d4217899..c31da84f78 100644 --- a/indra/newview/llnamebox.cpp +++ b/indra/newview/llnamebox.cpp @@ -47,6 +47,7 @@ LLNameBox::LLNameBox(const Params& p) { mNameID = LLUUID::null; mLink = p.link; + mParseHTML = mLink; // STORM-215 mInitialValue = p.initial_value().asString(); LLNameBox::sInstances.insert(this); setText(LLStringUtil::null); @@ -119,7 +120,7 @@ void LLNameBox::setName(const std::string& name, BOOL is_group) std::string url; if (is_group) - url = "[secondlife:///app/group/" + LLURI::escape(name) + "/about " + name + "]"; + url = "[secondlife:///app/group/" + mNameID.asString() + "/about " + name + "]"; else url = "[secondlife:///app/agent/" + mNameID.asString() + "/about " + name + "]"; |