diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-29 13:15:24 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-29 13:15:24 +0100 |
commit | 2e520cb849b735402073369d9f10e1a8ed426c2f (patch) | |
tree | d972163f2de4fd4ab23f006429fce4ddbebf869c | |
parent | 5e2448347c3b3d071a51a26fc71ea29c779dd7b5 (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.cpp | 4 |
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); } } |