summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-28 17:17:55 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-28 17:17:55 +0200
commit1b46e8894a40d46df948a034dd0413e97147748d (patch)
treee07e5ea8b7490b7a83b6f7b3351eb4cba61388a5
parentfbe21db8572c6d0e6a429a3ca209da6e26badf56 (diff)
Fixed normal bug EXT-4734 - In profile side-panels, area for homepage URL appears clickable without URL.
--HG-- branch : product-engine
-rw-r--r--indra/newview/llpanelavatar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp
index fe5b20813a..48dd5513bd 100644
--- a/indra/newview/llpanelavatar.cpp
+++ b/indra/newview/llpanelavatar.cpp
@@ -635,6 +635,9 @@ void LLPanelAvatarProfile::fillCommonData(const LLAvatarData* avatar_data)
childSetValue("2nd_life_pic", avatar_data->image_id);
childSetValue("real_world_pic", avatar_data->fl_image_id);
childSetValue("homepage_edit", avatar_data->profile_url);
+
+ // Hide home page textbox if no page was set to fix "homepage URL appears clickable without URL - EXT-4734"
+ childSetVisible("homepage_edit", !avatar_data->profile_url.empty());
}
void LLPanelAvatarProfile::fillPartnerData(const LLAvatarData* avatar_data)