Bug 567121 - Clear autocomplete after history writer is done. r=mfinkle

This commit is contained in:
Wes Johnston 2011-05-19 08:50:36 -07:00
parent f0c0c8b1b6
commit d9b8e25556

View File

@ -262,7 +262,7 @@ function AutoCompleteCache() {
AutoCompleteUtils.init();
Services.obs.addObserver(this, "browser:cache-session-history-reload", true);
Services.obs.addObserver(this, "browser:purge-session-history", true);
Services.obs.addObserver(this, "places-expiration-finished", true);
Services.obs.addObserver(this, "browser-search-engine-modified", true);
}
@ -344,7 +344,7 @@ AutoCompleteCache.prototype = {
else
AutoCompleteUtils.fetch(AutoCompleteUtils.query);
break;
case "browser:purge-session-history":
case "places-expiration-finished":
AutoCompleteUtils.fetch(AutoCompleteUtils.query);
break;
case "browser-search-engine-modified":