diff options
author | Richard Linden <none@none> | 2011-04-07 16:21:04 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-04-07 16:21:04 -0700 |
commit | 67aba3395d46a9b88f9d5dc758a27a7d8e542c16 (patch) | |
tree | bb375e888f6aa424387e393898955eca99a37d4c /indra/newview/llviewerwindow.cpp | |
parent | bf6fb46568eb93ebd341a1c559a2f1af5569469e (diff) | |
parent | df370922aee21e853cbd641eab195f1b985816ce (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-social-2
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 8ce15c7dfc..4305349ea2 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1317,7 +1317,8 @@ void LLViewerWindow::handleDataCopy(LLWindow *window, S32 data_type, void *data) std::string url = (const char*)data; LLMediaCtrl* web = NULL; const bool trusted_browser = false; - if (LLURLDispatcher::dispatch(url, "clicked", web, trusted_browser)) + // don't treat slapps coming from external browsers as "clicks" as this would bypass throttling + if (LLURLDispatcher::dispatch(url, "", web, trusted_browser)) { // bring window to foreground, as it has just been "launched" from a URL mWindow->bringToFront(); |