offline: properly initialize localStore

This commit is contained in:
Andrew Dolgov 2009-02-11 22:07:28 +03:00
parent 7a1ecd3983
commit 7bed756555
1 changed files with 3 additions and 0 deletions

View File

@ -974,6 +974,9 @@ function init_gears() {
if (window.google && google.gears) {
localServer = google.gears.factory.create("beta.localserver");
store = localServer.createManagedStore("tt-rss");
store.manifestUrl = "manifest.json";
store.checkForUpdate();
db = google.gears.factory.create('beta.database');
db.open('tt-rss');