summaryrefslogtreecommitdiffstats
path: root/extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-15 06:58:51 +0200
committerByron Jones <glob@mozilla.com>2015-06-15 06:58:51 +0200
commitaff954b93e8f47628c3910c0765f1749511affa7 (patch)
treea29ef1e746e4d694ce6719220f56828b122c7d6a /extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl
parentc290f3ecabec75b741d375e6130af9060255c274 (diff)
downloadbugzilla-aff954b93e8f47628c3910c0765f1749511affa7.tar.gz
bugzilla-aff954b93e8f47628c3910c0765f1749511affa7.tar.xz
Bug 1173771: "Share a link to this list of bugs" doesn't work for saved searches
Diffstat (limited to 'extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl')
-rw-r--r--extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl12
1 files changed, 7 insertions, 5 deletions
diff --git a/extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl b/extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl
index ba698aa2c..d41320b29 100644
--- a/extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl
+++ b/extensions/Bitly/template/en/default/hook/global/header-start.html.tmpl
@@ -6,8 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% RETURN UNLESS template.name == 'list/list.html.tmpl' %]
-
-[% style_urls.push('extensions/Bitly/web/styles/bitly.css') %]
-[% javascript_urls.push('extensions/Bitly/web/js/bitly.js') %]
-[% yui.push('container', 'connection', 'json') %]
+[%
+ RETURN UNLESS template.name == 'list/list.html.tmpl';
+ jquery.push('bPopup');
+ style_urls.push('extensions/Bitly/web/styles/bitly.css');
+ javascript_urls.push('extensions/Bitly/web/js/bitly.js');
+ generate_api_token = 1;
+%]