pass activeFeedIsCat() to search dialog when called from hotkey
This commit is contained in:
parent
04e91733a7
commit
525ea55e48
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue