]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: fix bugs caused by recent layout updates
authorAndrew Dolgov <fox@bah.org.ru>
Fri, 15 Jan 2010 11:02:14 +0000 (14:02 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Fri, 15 Jan 2010 11:02:14 +0000 (14:02 +0300)
offline.js
tt-rss.php

index ca2ae0990ebef93aba854040bcdf7a9da723fe0c..a2fe63c7e0a6c94b7b386c12dccfa989609ee9a7 100644 (file)
@@ -211,7 +211,7 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
                
                        var toolbar_form = document.forms["main_toolbar_form"];
                        
-                       var limit = toolbar_form.limit[toolbar_form.limit.selectedIndex].value;
+                       //var limit = toolbar_form.limit[toolbar_form.limit.selectedIndex].value;
                        var view_mode = toolbar_form.view_mode[toolbar_form.view_mode.selectedIndex].value;
 
                        var limit_qpart = "";
@@ -602,7 +602,6 @@ function init_offline() {
                store.enabled = true;
 
                Element.hide("dispSwitchPrompt");
-               Element.hide("feedBrowserPrompt");
 
                Element.hide("topLinksOnline");
                Element.show("topLinksOffline");
index 0d3186d3499342c06e27ed04ae73e01564d83fde..aa3d70e1e168bfb4686014c8a56494ba3a4a8932 100644 (file)
                        <option value="score"><?php echo __('Score') ?></option>
                </select>
 
-               <button onclick="return viewCurrentFeed('ForceUpdate')">
+               <button name="update" onclick="return viewCurrentFeed('ForceUpdate')">
                        <?php echo __('Update') ?></button>
 
                <button onclick="return catchupCurrentFeed()">