]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: do not disable local store
authorAndrew Dolgov <fox@bah.org.ru>
Thu, 12 Feb 2009 13:40:52 +0000 (16:40 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Thu, 12 Feb 2009 13:40:52 +0000 (16:40 +0300)
offline.js

index 974fa74916555bc4a4eb5e62b7203b8539bf8504..a16bbf625e9fc05f6318101caf43d049c02fb450 100644 (file)
@@ -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');