offline: hide main toolbar Update button

master
Andrew Dolgov 16 years ago
parent 3ac60b765a
commit 80b1c23867

@ -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();

@ -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') ?>"/>

Loading…
Cancel
Save