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.

meow-7.2.2
Gilbert Gonzales 2013-08-02 18:58:37 -07:00
parent d354acb6cd
commit a4bad4ba21
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}