diff options
Diffstat (limited to 'indra/newview/llmediactrl.cpp')
-rw-r--r-- | indra/newview/llmediactrl.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index b399ab9bc4..3bfb432a9b 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -1022,7 +1022,14 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) // try as slurl first if (!LLURLDispatcher::dispatch(url, "clicked", NULL, mTrusted)) { - LLWeb::loadURL(url, target, uuid); + if (self->isOverrideClickTarget() && target == "_navigate") + { + navigateTo(url, HTTP_CONTENT_TEXT_HTML); + } + else + { + LLWeb::loadURL(url, target, uuid); + } } // CP: removing this code because we no longer support popups so this breaks the flow. |