summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-19 08:50:59 +0200
committerByron Jones <glob@mozilla.com>2015-06-21 15:23:17 +0200
commit43a45edf30bfa63890d3af2047da1090826596b6 (patch)
tree49d8752ba61435caaade9d64e47814466eebba0e /extensions/BugModal/template/en
parentaa11ef5c0603f18fd5fdfdf921d1119f36573434 (diff)
downloadbugzilla-43a45edf30bfa63890d3af2047da1090826596b6.tar.gz
bugzilla-43a45edf30bfa63890d3af2047da1090826596b6.tar.xz
Bug 1161797: Use document.execCommand("copy") instead of flash where it is available
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 7cd41e386..9563a929c 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -244,6 +244,7 @@
[% IF bug.assigned_to.id == user.id || user.in_group("editbugs") %]
<button type="button" id="copy-summary" class="minor"
title="Copy [% terms.bug %] number and summary to your clipboard">Copy Summary</button>
+ <div id="clip-container" style="display:none"><input type="text" id="clip"></div>
[% END %]
[% IF user.id %]
<button type="button" class="minor" id="cc-btn" data-is-cced="[% is_cced ? 1 : 0 %]">