Skip to content
Snippets Groups Projects
Commit 6b6d8cee authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

Fixed low priority bug EXT-5653 (View Profile: Hand-pointer is shown when...

Fixed low priority bug EXT-5653 (View Profile: Hand-pointer is shown when hovering mouse above homepage that isn't a valid URL).
Removed an unnecessary on-click callback (that caused the cursor change) from the textbox.

--HG--
branch : product-engine
parent 3300c5b8
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#include "lltooldraganddrop.h" #include "lltooldraganddrop.h"
#include "llscrollcontainer.h" #include "llscrollcontainer.h"
#include "llavatariconctrl.h" #include "llavatariconctrl.h"
#include "llweb.h"
#include "llfloaterreg.h" #include "llfloaterreg.h"
#include "llnotificationsutil.h" #include "llnotificationsutil.h"
#include "llvoiceclient.h" #include "llvoiceclient.h"
...@@ -486,7 +485,6 @@ LLPanelAvatarProfile::LLPanelAvatarProfile() ...@@ -486,7 +485,6 @@ LLPanelAvatarProfile::LLPanelAvatarProfile()
BOOL LLPanelAvatarProfile::postBuild() BOOL LLPanelAvatarProfile::postBuild()
{ {
childSetActionTextbox("homepage_edit", boost::bind(&LLPanelAvatarProfile::onHomepageTextboxClicked, this));
childSetCommitCallback("add_friend",(boost::bind(&LLPanelAvatarProfile::onAddFriendButtonClick,this)),NULL); childSetCommitCallback("add_friend",(boost::bind(&LLPanelAvatarProfile::onAddFriendButtonClick,this)),NULL);
childSetCommitCallback("im",(boost::bind(&LLPanelAvatarProfile::onIMButtonClick,this)),NULL); childSetCommitCallback("im",(boost::bind(&LLPanelAvatarProfile::onIMButtonClick,this)),NULL);
childSetCommitCallback("call",(boost::bind(&LLPanelAvatarProfile::onCallButtonClick,this)),NULL); childSetCommitCallback("call",(boost::bind(&LLPanelAvatarProfile::onCallButtonClick,this)),NULL);
...@@ -732,20 +730,6 @@ void LLPanelAvatarProfile::csr() ...@@ -732,20 +730,6 @@ void LLPanelAvatarProfile::csr()
LLAvatarActions::csr(getAvatarId(), name); LLAvatarActions::csr(getAvatarId(), name);
} }
void LLPanelAvatarProfile::onUrlTextboxClicked(const std::string& url)
{
LLWeb::loadURL(url);
}
void LLPanelAvatarProfile::onHomepageTextboxClicked()
{
std::string url = childGetValue("homepage_edit").asString();
if(!url.empty())
{
onUrlTextboxClicked(url);
}
}
void LLPanelAvatarProfile::onAddFriendButtonClick() void LLPanelAvatarProfile::onAddFriendButtonClick()
{ {
LLAvatarActions::requestFriendshipDialog(getAvatarId()); LLAvatarActions::requestFriendshipDialog(getAvatarId());
......
...@@ -207,8 +207,6 @@ class LLPanelAvatarProfile ...@@ -207,8 +207,6 @@ class LLPanelAvatarProfile
bool enableGod(); bool enableGod();
void onUrlTextboxClicked(const std::string& url);
void onHomepageTextboxClicked();
void onAddFriendButtonClick(); void onAddFriendButtonClick();
void onIMButtonClick(); void onIMButtonClick();
void onCallButtonClick(); void onCallButtonClick();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment