summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl14
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/field.html.tmpl2
2 files changed, 15 insertions, 1 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 29b2a1e40..75aab63d3 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -518,6 +518,20 @@
label = "CC"
hide_on_view = bug.cc.size == 0
%]
+
+ [% IF user.id %]
+ <button type="button" id="add-cc-btn" class="minor">Add</button>
+ <div id="add-cc-container" style="display:none">
+ [% INCLUDE global/userselect.html.tmpl
+ id = "add-cc"
+ name = "newcc"
+ value = ""
+ classes = [ "bz_userfield" ]
+ multiple = 5
+ %]
+ </div>
+ [% END %]
+
[% IF bug.cc && bug.cc.size %]
<span id="cc-latch">&#9656;</span>
<span id="cc-summary">
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
index 787b8d9f1..d89c22868 100644
--- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
@@ -280,7 +280,7 @@ END;
[% END %]
[% IF edit %]
- <button id="[% name FILTER html %]-btn" class="bug-urls-btn minor">Add</button>
+ <button type="button" id="[% name FILTER html %]-btn" class="bug-urls-btn minor">Add</button>
<input id="[% name FILTER html %]" name="[% name FILTER html %]" style="display:none">
[% END %]
[% END %]