From 5cc88fd55c94b5dc9a310ad5c5d87942d4154d3d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 28 Jan 2015 16:20:19 +0000 Subject: 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 --- .../template/en/default/hook/global/header-start.html.tmpl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'extensions/BMO/template') 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 %] -- cgit v1.2.3-24-g4f1b