summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-29 13:15:24 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-29 13:15:24 +0100
commit2e520cb849b735402073369d9f10e1a8ed426c2f (patch)
treed972163f2de4fd4ab23f006429fce4ddbebf869c
parent5e2448347c3b3d071a51a26fc71ea29c779dd7b5 (diff)
WEB-1819 PARTIAL follow-up tweak.
this makes a new externally-invoked search blank-out the old search until it starts really loading.
-rw-r--r--indra/newview/llfloatersearch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp
index 13f2d6bc17..08a0615b33 100644
--- a/indra/newview/llfloatersearch.cpp
+++ b/indra/newview/llfloatersearch.cpp
@@ -115,6 +115,10 @@ void LLFloaterSearch::onOpen(const LLSD& key)
{
if ( (key.has("category")) || ((mBrowser) && (mBrowser->getCurrentNavUrl().empty())) )
{
+ // new search triggered - blank the page while loading, instead of
+ // temporarily showing stale results
+ mBrowser->navigateTo("about:blank");
+
search(key);
}
}