diff options
author | andreykproductengine <akleshchev@productengine.com> | 2015-07-23 19:15:07 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2015-07-23 19:15:07 +0300 |
commit | 1d3c59f29c2845ae326830b75f5da5e96ca46139 (patch) | |
tree | e11f85b72f80ebc144133a4b7b91f4d84ee942c8 /indra/newview/llfloatertos.cpp | |
parent | 57904b4def8c75a865ba503976de98d9ee4c0d94 (diff) |
MAINT-5398 FIXED [BetaBreakers] TOS additional policy links cannot be scrolled or closed once opened
Diffstat (limited to 'indra/newview/llfloatertos.cpp')
-rwxr-xr-x | indra/newview/llfloatertos.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatertos.cpp b/indra/newview/llfloatertos.cpp index c1c21c593e..ae33acb842 100755 --- a/indra/newview/llfloatertos.cpp +++ b/indra/newview/llfloatertos.cpp @@ -141,6 +141,12 @@ BOOL LLFloaterTOS::postBuild() // Don't use the start_url parameter for this browser instance -- it may finish loading before we get to add our observer. // Store the URL separately and navigate here instead. web_browser->navigateTo( getString( "loading_url" ) ); + LLPluginClassMedia* media_plugin = web_browser->getMediaPlugin(); + if (media_plugin) + { + // All links from tos_html should be opened in external browser + media_plugin->setOverrideClickTarget("_external"); + } } return TRUE; |