diff options
author | Andrew Dolgov <[email protected]> | 2008-05-16 08:45:38 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-16 08:45:38 +0100 |
commit | 525ea55e482173ca91755cb933a9979fdecd3712 (patch) | |
tree | 6fe741420722cc58ddf4d882f791f34ee8e4c8a2 | |
parent | 04e91733a76a70d193559cfda17e9d8072fe20a0 (diff) |
pass activeFeedIsCat() to search dialog when called from hotkey
-rw-r--r-- | modules/popup-dialog.php | 2 | ||||
-rw-r--r-- | tt-rss.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 1dc381979..be178207a 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]); @@ -972,7 +972,7 @@ function hotkey_handler(e) { } if (keycode == 191) { // / - return displayDlg("search", getActiveFeedId()); + return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat()); } if (keycode == 74) { // j |