summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-01 07:33:32 +0100
committerAndrew Dolgov <[email protected]>2006-10-01 07:33:32 +0100
commit6e6504bc029415d347712da5a0ca4ed39e394cf3 (patch)
tree7af71bfbe6df2d7a1a8a62d63a1be5b220c9e786 /tt-rss.php
parent5f0429a233168c6b1e8b9d75a5f0d590d1ebfba2 (diff)
modify filterCR to call user-specified callback on CR (e.g. for search toolbar)
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tt-rss.php b/tt-rss.php
index e1331e034..35d14715f 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -154,7 +154,7 @@ window.onload = init;
<?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
<input name="query"
- onKeyPress="return filterCR(event)"
+ onKeyPress="return filterCR(event, viewCurrentFeed)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
<input class="button" type="submit"
onclick="return viewCurrentFeed(0)" value="Search">