diff options
author | Andrew Dolgov <[email protected]> | 2009-02-04 14:02:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-02-04 14:02:43 +0300 |
commit | 80b1c238678e5333181774c21db863bc0a6d2fc7 (patch) | |
tree | c74b39e4efd0903d384e035c05904199d4381cd4 | |
parent | 3ac60b765aa647eef1bdf9bd884b83225f0f97cd (diff) |
offline: hide main toolbar Update button
-rw-r--r-- | offline.js | 4 | ||||
-rw-r--r-- | tt-rss.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/offline.js b/offline.js index 38bcc286a..80c4913fd 100644 --- a/offline.js +++ b/offline.js @@ -349,6 +349,10 @@ function init_offline() { Element.hide("feedBrowserPrompt"); Element.hide("quickMenuChooser"); + var tb_form = document.getElementById("main_toolbar_form"); + + Element.hide(tb_form.update); + init_params["theme"] = ""; render_offline_feedlist(); diff --git a/tt-rss.php b/tt-rss.php index ae3567d7e..5b48e348d 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -244,7 +244,7 @@ window.onload = init; - <input class="button" type="submit" + <input class="button" type="submit" name="update" onclick="return viewCurrentFeed('ForceUpdate')" value="<?php echo __('Update') ?>"/> |