]> git.wh0rd.org - tt-rss.git/commitdiff
code cleanup
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 10 Feb 2009 08:21:05 +0000 (11:21 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 10 Feb 2009 08:21:05 +0000 (11:21 +0300)
tt-rss.js
tt-rss.php

index 5d104a06980c0da1b5ead867b12a77e3e57b7c14..931a5b6116b79800f515761ddfdf2e6813ddfa2c 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -676,11 +676,6 @@ function quickMenuGo(opid) {
                        resize_headlines();
                }
 
-/*             if (opid == "qmcDownload") {
-                       displayDlg("offlineDownload");
-                       return;
-               } */
-
                if (opid == "qmcResetCats") {
 
                        if (confirm(__("Reset category order?"))) {
@@ -1314,16 +1309,6 @@ function hotkey_handler(e) {
                                }
                        }
 
-/*                     if (keycode == 68 && shift_key) { // D
-                               initiate_offline_download();
-                               return false;
-                       }
-
-                       if (keycode == 68) { // d
-                               displayDlg("offlineDownload");
-                               return false;
-                       } */
-
                        if (keycode == 87) { // w
                                feeds_sort_by_unread = !feeds_sort_by_unread;
                                return resort_feedlist();
index f4cb835495b8f3f98fd31b5283b0e385eec2b91e..5d765b5d92c25deaa48ffcd3c71c7362303ee1e9 100644 (file)
@@ -190,7 +190,6 @@ window.onload = init;
                                        <option value="qmcAddFilter">&nbsp;&nbsp;<?php echo __('Create filter...') ?></option>
                                        <option value="qmcResetUI">&nbsp;&nbsp;<?php echo __('Reset UI layout') ?></option>
                                        <option value="qmcResetCats">&nbsp;&nbsp;<?php echo __('Reset category order') ?></option>
-                                       <option id="qmcDownload" style="display : none" value="qmcDownload"><?php echo __('&nbsp;&nbsp;Download new articles...') ?></option>
                                        <option value="qmcHKhelp"><?php echo __('&nbsp;&nbsp;Keyboard shortcuts') ?></option>
 
                        </select>