offline: do not disable local store
This commit is contained in:
parent
79e565a975
commit
183c0864ea
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue