Bug 153874: Query in sidebar wasn't working
Patch by Peter Henderson (peterhenderson@usa.net) r= kiko, a= justdave git-svn-id: svn://10.0.0.236/trunk@136212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,10 @@
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user