diff options
author | Richard Linden <none@none> | 2011-05-11 16:43:42 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-05-11 16:43:42 -0700 |
commit | a0267151c3f4bfcf04dd02b81eb8450fc86c7791 (patch) | |
tree | 67c587cef35bbe0c48d08029ff4b16555397d600 /indra/newview/llpanellogin.cpp | |
parent | 9dbc3301f677316be3266caa792517f235438e81 (diff) |
EXP-813 FIX Login screen reloads when clicking on location slapp
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rw-r--r-- | indra/newview/llpanellogin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 4ac3a248d3..27f341b4f6 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -769,7 +769,10 @@ void LLPanelLogin::loadLoginPage() gViewerWindow->setMenuBackgroundColor(false, !LLGridManager::getInstance()->isInProductionGrid()); LLMediaCtrl* web_browser = sInstance->getChild<LLMediaCtrl>("login_html"); - web_browser->navigateTo( oStr.str(), "text/html" ); + if (web_browser->getCurrentNavUrl() != oStr.str()) + { + web_browser->navigateTo( oStr.str(), "text/html" ); + } } void LLPanelLogin::handleMediaEvent(LLPluginClassMedia* /*self*/, EMediaEvent event) |