pass activeFeedIsCat() to search dialog when called from hotkey

This commit is contained in:
Andrew Dolgov 2008-05-16 08:45:38 +01:00
parent 04e91733a7
commit 525ea55e48
2 changed files with 3 additions and 1 deletions

View File

@ -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]);

View File

@ -972,7 +972,7 @@ function hotkey_handler(e) {
}
if (keycode == 191) { // /
return displayDlg("search", getActiveFeedId());
return displayDlg("search", getActiveFeedId() + ":" + activeFeedIsCat());
}
if (keycode == 74) { // j