summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-08-02 18:58:37 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-08-02 18:58:37 -0700
commita4bad4ba21787c6895368f5eb5cda7c3881d57da (patch)
treeb32b08b11fe7a0fd4fe7e37e0a9e2014b2ea4f1a /indra
parentd354acb6cdd9d9433b871349e4e7c21e9eb3490d (diff)
ACME-744: Temporary solution. The internal browser was not setting keyboard focus properly...as to why an investigation is needed. For now explicly setting keyboard focus to the internal browser after it is displayed.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfacebookconnect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp
index e4ac2a4960..560208c31e 100644
--- a/indra/newview/llfacebookconnect.cpp
+++ b/indra/newview/llfacebookconnect.cpp
@@ -333,7 +333,9 @@ void LLFacebookConnect::openFacebookWeb(std::string url)
p.url(url).allow_address_entry(false);
p.url(url).allow_back_forward_navigation(false);
p.url(url).trusted_content(true);
- LLFloaterReg::showInstance("fbc_web", p);
+ LLFloater *floater = LLFloaterReg::showInstance("fbc_web", p);
+ //TODO Gil: Hack to give the focus to the web browser to show cursor, will fix
+ gFocusMgr.setKeyboardFocus( floater );
//LLUrlAction::openURLExternal(url);
}