summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwebcontent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterwebcontent.cpp')
-rw-r--r--indra/newview/llfloaterwebcontent.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index 76fb985b39..058567492b 100644
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -328,12 +328,6 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent
const std::string link = self->getHoverLink();
mStatusBarText->setText( link );
}
- else if(event == MEDIA_EVENT_NAVIGATE_ERROR_PAGE )
- {
- std::string redirect_url = gSavedSettings.getString("WebContentFloaterErrorURL");
- mWebBrowser->navigateTo(redirect_url, "text/html");
- set_current_url(redirect_url);
- }
}
void LLFloaterWebContent::set_current_url(const std::string& url)