STORM-215 FIXED Disabled URL highlighting in name_box'es.

By the way, fixed invalid SLURLs that LLNameBox generated for groups.
master
Vadim ProductEngine 2010-09-30 23:35:48 +03:00
parent 4b414302cf
commit 9862c58e1b
1 changed files with 2 additions and 1 deletions

View File

@ -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 + "]";