fix interaction between views and virtual folders that was resulting in matching messages not getting displayed, 351867, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@212004 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1f6d5a70e6
commit
c744d9933d
@ -117,7 +117,11 @@ var gSearchNotificationListener =
|
||||
|
||||
// load the last used mail view for the folder...
|
||||
var result = dbFolderInfo.getUint32Property("current-view", 0);
|
||||
ViewChangeByValue(result);
|
||||
// do this on a timeout so that we don't issue a new search
|
||||
// synchronously with the previous search's onSearchDone notification
|
||||
// because that can cause a confusing sequence of onSearchDone and
|
||||
// onNewSearch notifications.
|
||||
setTimeout('ViewChangeByValue('+result+')', 0);
|
||||
|
||||
// now that we have finished loading a virtual folder, scroll to the correct message
|
||||
ScrollToMessageAfterFolderLoad(vFolder);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user