]> git.wh0rd.org Git - tt-rss.git/commitdiff
pass activeFeedIsCat() to search dialog when called from hotkey
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 07:45:38 +0000 (08:45 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 07:45:38 +0000 (08:45 +0100)
modules/popup-dialog.php
tt-rss.js

index 1dc381979ed2b713d3aa1d592946402b403c06a2..be178207a3837de7a193c51ec47a6cc9df309a7c 100644 (file)
 
                        #$active_feed_id = db_escape_string($_GET["param"]);
 
+                       print $_GET["param"];
+
                        $params = split(":", db_escape_string($_GET["param"]));
 
                        $active_feed_id = sprintf("%d", $params[0]);
index 47b2a14cb87e2b7587310ee1a76308849aecf653..4fe94817970917ab047bbf64e39e6ff10ef8b56d 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -972,7 +972,7 @@ function hotkey_handler(e) {
                        }
        
                        if (keycode == 191) { // /
-                               return displayDlg("search", getActiveFeedId());
+                               return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat());
                        }
 
                        if (keycode == 74) { // j