]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 153874: Query in sidebar wasn't working
authorjustdave%syndicomm.com <>
Sun, 12 Jan 2003 16:16:03 +0000 (16:16 +0000)
committerjustdave%syndicomm.com <>
Sun, 12 Jan 2003 16:16:03 +0000 (16:16 +0000)
Patch by Peter Henderson (peterhenderson@usa.net)
r= kiko, a= justdave

quicksearch.js
template/en/default/sidebar.xul.tmpl

index ff43a5f1db140150c0206764b6151e9338e9991f..1eb627073600d62742887349350496179f189295 100644 (file)
@@ -47,7 +47,7 @@ function do_shift(l) {
 
 function go_to (url) {
     if ( typeof sidebar != "undefined" && sidebar == 1 ) {
-        load_relative_url(url);
+        load_absolute_url(url);
     } else {
         document.location.href = url;
     }
index 21a07c998834e80040ceda6f0acac4361e2df38d..ad530cbb782fe08c473d6ddd0be6b7b57dd423cf 100644 (file)
 // Tell QuickSearch that the source of this is the sidebar
 var sidebar = 1;
 
+function load_absolute_url( aAbsoluteURL ) {
+    _content.location = aAbsoluteURL;
+}
+
 function load_relative_url( aRelativeURL ) {
     aRelativeURL = '[% Param('urlbase') %]' + aRelativeURL;
     _content.location = aRelativeURL;