offline: do not disable local store

This commit is contained in:
Andrew Dolgov 2009-02-12 16:40:52 +03:00
parent 79e565a975
commit 183c0864ea

View file

@ -566,7 +566,6 @@ function render_offline_feedlist() {
function init_offline() { function init_offline() {
try { try {
offline_mode = true; offline_mode = true;
store.enabled = true;
Element.hide("dispSwitchPrompt"); Element.hide("dispSwitchPrompt");
Element.hide("feedBrowserPrompt"); Element.hide("feedBrowserPrompt");
@ -1017,8 +1016,7 @@ function init_gears() {
store = localServer.createManagedStore("tt-rss"); store = localServer.createManagedStore("tt-rss");
store.manifestUrl = "manifest.json.php"; store.manifestUrl = "manifest.json.php";
store.checkForUpdate(); store.checkForUpdate();
store.enabled = false;
db = google.gears.factory.create('beta.database'); db = google.gears.factory.create('beta.database');
db.open('tt-rss'); db.open('tt-rss');