summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-07 07:25:13 +0200
committerByron Jones <glob@mozilla.com>2015-04-07 07:25:13 +0200
commit2c9db0144d3b3816bbfbfd821657ff0daf3687d5 (patch)
treeac7b758b080e980138d6c869b7f24e7df475863b /extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
parent280c184398d4e4de9c00c96ee9dff1d7e6724615 (diff)
downloadbugzilla-2c9db0144d3b3816bbfbfd821657ff0daf3687d5.tar.gz
bugzilla-2c9db0144d3b3816bbfbfd821657ff0daf3687d5.tar.xz
Bug 1149796: "Reset Assignee to default" and "Reset QA Contact to default" options missing when changing a bug's component
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/header.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/header.html.tmpl4
1 files changed, 4 insertions, 0 deletions
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 c6dd8b74c..70c98641f 100644
--- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
@@ -97,4 +97,8 @@
zoom_textareas: [% user.settings.zoom_textareas.value == "on" ? "true" : "false" %]
}
};
+ [% IF user.id %]
+ BUGZILLA.default_assignee = '[% bug.component_obj.default_assignee.login FILTER js %]';
+ BUGZILLA.default_qa_contact = '[% bug.component_obj.default_qa_contact.login FILTER js %]';
+ [% END %]
[% END %]