summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-18 12:32:01 -0800
committerJames Cook <james@lindenlab.com>2009-12-18 12:32:01 -0800
commitefdfc74b21f5d6386cc03136c4d2a8dcf07f9958 (patch)
tree620d86df1d2b2cc409109eace7888cb68e1dc921 /indra/newview/llpanellogin.cpp
parenteb501f3231aacb2fd97d8428bb2d25b818b26263 (diff)
parentc1b58587dfe4711383b1878d341527221d2c298f (diff)
Merge with viewer-2-0 again, to pick up avatar changes
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rw-r--r--indra/newview/llpanellogin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 1d89c3bde0..a9c7b908ed 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -272,6 +272,9 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
// get the web browser control
LLMediaCtrl* web_browser = getChild<LLMediaCtrl>("login_html");
web_browser->addObserver(this);
+
+ // Clear the browser's cache to avoid any potential for the cache messing up the login screen.
+ web_browser->clearCache();
// Need to handle login secondlife:///app/ URLs
web_browser->setTrusted( true );