summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-01-28 17:20:19 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-01-28 17:20:19 +0100
commit5cc88fd55c94b5dc9a310ad5c5d87942d4154d3d (patch)
tree9f83dda8c781cf919a14f7a2c26e08bbea55a721 /extensions/BMO/template
parenta496214a165549c36ac4a65dfc00d963d3902e9e (diff)
downloadbugzilla-5cc88fd55c94b5dc9a310ad5c5d87942d4154d3d.tar.gz
bugzilla-5cc88fd55c94b5dc9a310ad5c5d87942d4154d3d.tar.xz
Bug 1100382: backport upstream bug 1090727 to bmo/4.2 to support jquery in the global/header template, and update the header and footer to use jquery
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-start.html.tmpl12
1 files changed, 10 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
index 2b2642148..0243345bb 100644
--- a/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
@@ -1,3 +1,11 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
[% IF !javascript_urls %]
[% javascript_urls = [] %]
[% END %]
@@ -35,7 +43,7 @@
[%# BMO - add user context menu %]
[% IF user.id %]
- [% yui.push('container', 'menu') %]
- [% style_urls.push('js/yui/assets/skins/sam/menu.css') %]
+ [% jquery.push('contextMenu') %]
+ [% style_urls.push('js/jquery/plugins/contextMenu/contextMenu.css') %]
[% javascript_urls.push('extensions/BMO/web/js/edituser_menu.js') %]
[% END %]