diff options
author | Richard Linden <none@none> | 2011-04-19 13:33:47 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-04-19 13:33:47 -0700 |
commit | 08fa1c613a263e78f93a642329e9700d6708a46e (patch) | |
tree | 264904ed70311c3fa68d94af269f3199f6084d74 /indra/newview/llviewerwindow.cpp | |
parent | fbf886b7cc379bb4b9e409923b658af0b5c8fdef (diff) | |
parent | 1fbdd880d9ad3bb660d6b1fa20c643613f09eb06 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-social-3
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(); |