mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 567121 - Clear autocomplete after history writer is done. r=mfinkle
This commit is contained in:
parent
f0c0c8b1b6
commit
d9b8e25556
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user