summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorguy.pyrzak%gmail.com <>2008-10-03 00:08:04 +0200
committerguy.pyrzak%gmail.com <>2008-10-03 00:08:04 +0200
commit7bfd680d6fb32886fcbad107ffed75974ff7009f (patch)
tree3f4672cbba2021b85eca43ced7b32fa7f227fdc1 /template/en/default/global
parentcdb5a5b60273f5e00b5e7a3e05c28bd6da2fa467 (diff)
downloadbugzilla-7bfd680d6fb32886fcbad107ffed75974ff7009f.tar.gz
bugzilla-7bfd680d6fb32886fcbad107ffed75974ff7009f.tar.xz
Bug 453459: Bug pages no longer added to bfcache due to unload listener on Window
Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r=LpSolit@gmail.com, a=LpSolit@gmail.com
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/header.html.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 95cda45d0..a25cf70dc 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -202,6 +202,8 @@
[% IF javascript_urls.grep('yui/').size %]
<script type="text/javascript">
YAHOO.namespace('bugzilla');
+ if( YAHOO.env.ua.gecko )
+ YAHOO.util.Event._simpleRemove(window, "unload", YAHOO.util.Event._unload);
</script>
[% END %]
[% END %]