offline: hide main toolbar Update button

This commit is contained in:
Andrew Dolgov 2009-02-04 14:02:43 +03:00
parent 3ac60b765a
commit 80b1c23867
2 changed files with 5 additions and 1 deletions

View File

@ -349,6 +349,10 @@ function init_offline() {
Element.hide("feedBrowserPrompt"); Element.hide("feedBrowserPrompt");
Element.hide("quickMenuChooser"); Element.hide("quickMenuChooser");
var tb_form = document.getElementById("main_toolbar_form");
Element.hide(tb_form.update);
init_params["theme"] = ""; init_params["theme"] = "";
render_offline_feedlist(); render_offline_feedlist();

View File

@ -244,7 +244,7 @@ window.onload = init;
   
<input class="button" type="submit" <input class="button" type="submit" name="update"
onclick="return viewCurrentFeed('ForceUpdate')" onclick="return viewCurrentFeed('ForceUpdate')"
value="<?php echo __('Update') ?>"/> value="<?php echo __('Update') ?>"/>