diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-03 15:10:03 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-03 15:10:03 +0200 |
commit | 8c9c30116878eb5034531b44c87fd9309e36ec13 (patch) | |
tree | de94a5110c6ddca00a463ba35cb26e81de22778f | |
parent | cc98d2f034a5109a05b40bd88dfa8dd6b6f7d275 (diff) |
Fixed normal bug EXT-4873 - Homepage field in My Profile (edit) no longer appears
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llpanelavatar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp index 48dd5513bd..0423cf75fa 100644 --- a/indra/newview/llpanelavatar.cpp +++ b/indra/newview/llpanelavatar.cpp @@ -582,6 +582,9 @@ void LLPanelAvatarProfile::processProfileProperties(const LLAvatarData* avatar_d { fillCommonData(avatar_data); + // 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()); + fillPartnerData(avatar_data); fillAccountStatus(avatar_data); @@ -635,9 +638,6 @@ 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) |