aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-23 10:31:20 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-23 10:31:20 +0100
commit90dc9ca46d8cae9def26a0414311eab8c2549aa1 (patch)
tree3047de95a548291e64338c57a5834a830d7fd216 /tmpl
parent5511fa1152f8a2e7a24ab7d3710174d14b4751a3 (diff)
IE fixes.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/header.tt24
1 files changed, 3 insertions, 1 deletions
diff --git a/tmpl/header.tt2 b/tmpl/header.tt2
index edfa773..5360b4f 100644
--- a/tmpl/header.tt2
+++ b/tmpl/header.tt2
@@ -16,7 +16,9 @@
}
else {
document.write('<base href="[% base_url | html %]">');
- document.write('<meta http-equiv="Refresh" content="1;+trees">');
+ var base = '[% base_url | html %]';
+ base = base.replace(/\/ajax[+][*]\/?/, '/');
+ document.write('<meta http-equiv="Refresh" content="0;url=' + base + '+trees">');
use_ajax_navigation = 0;
}
[% END %]