Patch by Peter Henderson (peterhenderson@usa.net)
r= kiko, a= justdave
function go_to (url) {
if ( typeof sidebar != "undefined" && sidebar == 1 ) {
- load_relative_url(url);
+ load_absolute_url(url);
} else {
document.location.href = url;
}
// 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;