From 8affa3eab39d5b438067f3b5b0490be597b19bbc Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 27 Sep 2016 13:55:12 +0000 Subject: ug 1268317 - Add Triage Contact to Components as an Editable Field (everything else) --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 9 +++++++++ extensions/BugModal/web/bug_modal.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'extensions') 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) { -- cgit v1.2.3-24-g4f1b