1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 04:57:59 +01:00

Periodically save storage objects

This commit is contained in:
Kris Maglione
2008-12-10 16:17:41 -05:00
parent 54cc80ec11
commit e9cb763f37
3 changed files with 63 additions and 5 deletions

View File

@@ -1404,7 +1404,7 @@ function Completion() //{{{
context.hasItems = context.completions.length > 0; // XXX
context.filterFunc = null;
context.compare = null;
let timer = new util.Timer(50, 100, function (result) {
let timer = new Timer(50, 100, function (result) {
context.incomplete = result.searchResult >= result.RESULT_NOMATCH_ONGOING;
context.completions = [
[result.getValueAt(i), result.getCommentAt(i), result.getImageAt(i)]