From: Andrew Dolgov Date: Thu, 12 Feb 2009 13:40:52 +0000 (+0300) Subject: offline: do not disable local store X-Git-Tag: 1.3.1~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=183c0864eac08e353e1fc8f51c8b08f7cf4f8da6;p=tt-rss.git offline: do not disable local store --- diff --git a/offline.js b/offline.js index 974fa749..a16bbf62 100644 --- a/offline.js +++ b/offline.js @@ -566,7 +566,6 @@ function render_offline_feedlist() { function init_offline() { try { offline_mode = true; - store.enabled = true; Element.hide("dispSwitchPrompt"); Element.hide("feedBrowserPrompt"); @@ -1017,8 +1016,7 @@ function init_gears() { store = localServer.createManagedStore("tt-rss"); store.manifestUrl = "manifest.json.php"; store.checkForUpdate(); - store.enabled = false; - + db = google.gears.factory.create('beta.database'); db.open('tt-rss');