mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 08:01:28 +00:00
pass activeFeedIsCat() to search dialog when called from hotkey
This commit is contained in:
@@ -131,6 +131,8 @@
|
|||||||
|
|
||||||
#$active_feed_id = db_escape_string($_GET["param"]);
|
#$active_feed_id = db_escape_string($_GET["param"]);
|
||||||
|
|
||||||
|
print $_GET["param"];
|
||||||
|
|
||||||
$params = split(":", db_escape_string($_GET["param"]));
|
$params = split(":", db_escape_string($_GET["param"]));
|
||||||
|
|
||||||
$active_feed_id = sprintf("%d", $params[0]);
|
$active_feed_id = sprintf("%d", $params[0]);
|
||||||
|
|||||||
@@ -972,7 +972,7 @@ function hotkey_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 191) { // /
|
if (keycode == 191) { // /
|
||||||
return displayDlg("search", getActiveFeedId());
|
return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 74) { // j
|
if (keycode == 74) { // j
|
||||||
|
|||||||
Reference in New Issue
Block a user