summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/sidebar.xul.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 21a07c998..ad530cbb7 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -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;