diff options
| author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2014-06-23 23:16:36 +0300 |
|---|---|---|
| committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2014-06-23 23:16:36 +0300 |
| commit | a23ec5ffa84c1122af3cbb416363a0eb564ad65c (patch) | |
| tree | b8541c3c5266028ef57add9749d80668838ea6d0 /indra/newview/llviewermenu.cpp | |
| parent | e5b930c92a4ece0ca6c830c21b4b321833d9239f (diff) | |
MAINT-4127: New default mode when clicking links: Linden links open in viewer, third-party links open in user's browser
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
| -rwxr-xr-x | indra/newview/llviewermenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 8b9b9ed172..01e6c8a5d0 100755 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -6196,7 +6196,7 @@ class LLPromptShowURL : public view_listener_t std::string alert = param.substr(0, offset); std::string url = param.substr(offset+1); - if(gSavedSettings.getBOOL("UseExternalBrowser")) + if (LLWeb::useExternalBrowser(url)) { LLSD payload; payload["url"] = url; @@ -7816,7 +7816,7 @@ void handle_web_content_test(const LLSD& param) void handle_show_url(const LLSD& param) { std::string url = param.asString(); - if(gSavedSettings.getBOOL("UseExternalBrowser")) + if (LLWeb::useExternalBrowser(url)) { LLWeb::loadURLExternal(url); } |
