summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-09-27 15:55:12 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-09-27 15:55:12 +0200
commit8affa3eab39d5b438067f3b5b0490be597b19bbc (patch)
treebf288ce157376b3166e6e5c62c65c7dfe91578c7 /extensions
parent0ebea6d9fac5b7da3844829883ee76707c711061 (diff)
downloadbugzilla-8affa3eab39d5b438067f3b5b0490be597b19bbc.tar.gz
bugzilla-8affa3eab39d5b438067f3b5b0490be597b19bbc.tar.xz
ug 1268317 - Add Triage Contact to Components as an Editable Field (everything else)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl9
-rw-r--r--extensions/BugModal/web/bug_modal.js2
2 files changed, 10 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 d9e970fe0..c7bdefbdc 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -616,6 +616,15 @@
view_only = 1
%]
+ [%# triage owner %]
+ [% INCLUDE bug_modal/field.html.tmpl
+ field = bug_fields.triage_owner
+ field_type = constants.FIELD_TYPE_USER
+ value = bug.component_obj.triage_owner
+ view_only = 1
+ %]
+
+
[%# needinfo %]
[% WRAPPER bug_modal/field.html.tmpl
container = 1
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 12d64c580..1282ff838 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -865,7 +865,7 @@ $(function() {
$('#top-save-btn').show();
$('#resolve-as').hide();
$('#bottom-status').show();
- $('#bottom-dup_id').focus();
+ $('#bottom-dup_id').focus();
});
$('.status-btn')
.click(function(event) {