summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-02-12 01:46:34 +0100
committermkanat%bugzilla.org <>2009-02-12 01:46:34 +0100
commitd8f23ea46b2244fb5c2ae610637deed14db13704 (patch)
tree4ff057b6f5a5e8d3f1e045351edb7de23bfe7e36 /template/en/default/global
parent138c15b19a7f49667c012829cc0311abdbdfb0c0 (diff)
downloadbugzilla-d8f23ea46b2244fb5c2ae610637deed14db13704.tar.gz
bugzilla-d8f23ea46b2244fb5c2ae610637deed14db13704.tar.xz
Bug 475063: Make the logged-out index.cgi simpler
Patch By Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/header.html.tmpl14
1 files changed, 6 insertions, 8 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 82a75e6a3..b687da6af 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -188,8 +188,14 @@
type="text/css">
<![endif]-->
+ <script src="js/yui/yahoo-dom-event.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
+ YAHOO.namespace('bugzilla');
+ if (YAHOO.env.ua.gecko) {
+ YAHOO.util.Event._simpleRemove(window, "unload",
+ YAHOO.util.Event._unload);
+ }
[%# Make some Bugzilla information available to all scripts.
# We don't import every parameter and constant because we
# don't want to add a lot of uncached JS to every page.
@@ -210,13 +216,6 @@
[% FOREACH javascript_url = javascript_urls %]
<script src="[% javascript_url FILTER html %]" type="text/javascript"></script>
[% END %]
- [% 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 %]
[%# this puts the live bookmark up on firefox for the Atom feed %]
@@ -247,7 +246,6 @@
# 'bannerhtml'
#%]
-
<div id="header">
[% INCLUDE global/banner.html.tmpl %]