diff options
| author | Cho <cho@lindenlab.com> | 2013-03-09 01:51:53 +0000 |
|---|---|---|
| committer | Cho <cho@lindenlab.com> | 2013-03-09 01:51:53 +0000 |
| commit | ca74562a398d487245b112b1ea4cb5baa8ed00d3 (patch) | |
| tree | c896dcdebfa658b3f97150144fb46a1433f59844 /indra/newview/llpanelpeople.cpp | |
| parent | 57469ce55def897699364bc03580b077af91cca1 (diff) | |
ACME-98 FIX Create a FB Login button in FB tab in People panel
Diffstat (limited to 'indra/newview/llpanelpeople.cpp')
| -rw-r--r-- | indra/newview/llpanelpeople.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index 903574e8bd..85f54b06eb 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -513,6 +513,7 @@ LLPanelPeople::LLPanelPeople() mRecentListUpdater = new LLRecentListUpdater(boost::bind(&LLPanelPeople::updateRecentList, this)); mButtonsUpdater = new LLButtonsUpdater(boost::bind(&LLPanelPeople::updateButtons, this)); mCommitCallbackRegistrar.add("People.addFriend", boost::bind(&LLPanelPeople::onAddFriendButtonClicked, this)); + mCommitCallbackRegistrar.add("People.loginFBC", boost::bind(&LLPanelPeople::onLoginFbcButtonClicked, this)); } LLPanelPeople::~LLPanelPeople() @@ -1561,4 +1562,9 @@ bool LLPanelPeople::isAccordionCollapsedByUser(const std::string& name) return isAccordionCollapsedByUser(getChild<LLUICtrl>(name)); } +void LLPanelPeople::onLoginFbcButtonClicked() +{ + LLWeb::loadURLInternal("https://cryptic-ridge-1632.herokuapp.com/"); +} + // EOF |
