From 3c6d3586f6f393b6841a97feee1744bd700c1485 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 4 Feb 2009 15:49:34 +0300 Subject: [PATCH] offline mode UI tweaks --- offline.js | 8 ++++++-- tt-rss.php | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/offline.js b/offline.js index 2ce8920a..947a528b 100644 --- a/offline.js +++ b/offline.js @@ -445,12 +445,16 @@ function init_offline() { Element.hide("dispSwitchPrompt"); Element.hide("feedBrowserPrompt"); - Element.hide("quickMenuChooser"); var tb_form = document.getElementById("main_toolbar_form"); - Element.hide(tb_form.update); + var top_links = document.getElementById("topLinks"); + top_links.innerHTML = __("Offline mode"); + + var chooser = document.getElementById("quickMenuChooser"); + chooser.disabled = true; + var rs = db.execute("SELECT key, value FROM init_params"); while (rs.isValidRow()) { diff --git a/tt-rss.php b/tt-rss.php index 5b48e348..38a2c32f 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -113,7 +113,7 @@ window.onload = init;