summaryrefslogtreecommitdiffstats
path: root/template/en/default/sidebar.xul.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/sidebar.xul.tmpl')
-rw-r--r--template/en/default/sidebar.xul.tmpl8
1 files changed, 1 insertions, 7 deletions
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index b04aa08dc..31f0a2c6b 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -34,14 +34,8 @@
orient="vertical"
onload="document.getElementById('query-field').addEventListener('keypress', initial_keypress_handler, true)">
-<!-- Load QuickSearch libraries -->
-<script type="application/x-javascript" src="localconfig.js"/>
-<script type="application/x-javascript" src="quicksearch.js"/>
<script type="application/x-javascript"><![CDATA[
-// Tell QuickSearch that the source of this is the sidebar
-var sidebar = 1;
-
function load_absolute_url( aAbsoluteURL ) {
content.location = aAbsoluteURL;
}
@@ -59,7 +53,7 @@ function initial_keypress_handler( aEvent ) {
function normal_keypress_handler( aEvent ) {
if ( aEvent.keyCode == 13 )
- QuickSearch(this.value);
+ load_relative_url('buglist.cgi?quicksearch=' + this.value);
}
]]></script>