]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: hide main toolbar Update button
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 4 Feb 2009 11:02:43 +0000 (14:02 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 4 Feb 2009 11:02:43 +0000 (14:02 +0300)
offline.js
tt-rss.php

index 38bcc286a8873fcb8d1ca0b74371f4155b4d8cbf..80c4913fde484e4b6c19307786650b82f0d40e6c 100644 (file)
@@ -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();
index ae3567d7e011a02f9ce55c135cf239825071b690..5b48e348dd5be88ee0c08ecc14050abe55d8a222 100644 (file)
@@ -244,7 +244,7 @@ window.onload = init;
 
                &nbsp;
 
-               <input class="button" type="submit"
+               <input class="button" type="submit" name="update"
                        onclick="return viewCurrentFeed('ForceUpdate')" 
                        value="<?php echo __('Update') ?>"/>