From 2e520cb849b735402073369d9f10e1a8ed426c2f Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Thu, 29 Jul 2010 13:15:24 +0100
Subject: [PATCH] WEB-1819 PARTIAL follow-up tweak.

this makes a new externally-invoked search blank-out the old search
until it starts really loading.
---
 indra/newview/llfloatersearch.cpp | 4 ++++
 1 file changed, 4 insertions(+)

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);
 	}
 }
-- 
GitLab