From 03450656e24abb848f6ef8b4f599e876522120fb Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 16 Jul 2018 23:26:46 -0400 Subject: Bug 1472961 - Copy Summary button should copy link as well --- extensions/BugModal/template/en/default/bug_modal/header.html.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extensions/BugModal/template/en') diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl index b9a42caf3..47d97fb32 100644 --- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl @@ -8,6 +8,7 @@ [% PROCESS global/variables.none.tmpl; + USE Bugzilla; # IF bugs.defined; @@ -89,6 +90,8 @@ [%# expose useful data to js %] BUGZILLA.bug_id = [% bug.id FILTER none %]; BUGZILLA.bug_title = '[% unfiltered_title FILTER js %]'; + BUGZILLA.bug_summary = '[% bug.short_desc FILTER js %]'; + BUGZILLA.bug_url = '[% Bugzilla.cgi.self_url FILTER js %]'; BUGZILLA.user = { id: [% user.id FILTER none %], login: '[% user.login FILTER js %]', -- cgit v1.2.3-24-g4f1b