diff options
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 14 |
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 %] |