From 525ea55e482173ca91755cb933a9979fdecd3712 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 May 2008 08:45:38 +0100 Subject: [PATCH] pass activeFeedIsCat() to search dialog when called from hotkey --- modules/popup-dialog.php | 2 ++ tt-rss.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 1dc38197..be178207 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -131,6 +131,8 @@ #$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]); diff --git a/tt-rss.js b/tt-rss.js index 47b2a14c..4fe94817 100644 --- 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 -- 2.39.5