summaryrefslogtreecommitdiff
path: root/backend.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 /backend.php
parent5f0429a233168c6b1e8b9d75a5f0d590d1ebfba2 (diff)
modify filterCR to call user-specified callback on CR (e.g. for search toolbar)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index e9bca7346..c63b981c2 100644
--- a/backend.php
+++ b/backend.php
@@ -2511,7 +2511,7 @@
print "<table width='100%'><tr><td>Search:</td><td>";
print "<input name=\"query\" class=\"iedit\"
- onkeypress=\"return filterCR(event)\"
+ onkeypress=\"return filterCR(event, search)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
value=\"\">
</td></tr>";
@@ -2647,7 +2647,7 @@
print "<table width='100%'>";
print "<tr><td>Match:</td>
- <td><input onkeypress=\"return filterCR(event)\"
+ <td><input onkeypress=\"return filterCR(event, qaddFilter)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
name=\"reg_exp\" class=\"iedit\">";
print "</td><td>";