]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: properly initialize localStore
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 11 Feb 2009 19:07:28 +0000 (22:07 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 11 Feb 2009 19:07:28 +0000 (22:07 +0300)
offline.js

index 7ffbc39fa8565b5ed493441b119943ccdd8edb0a..f20559f2fc3c4229596023c805e9e5060f8a3226 100644 (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');