diff options
author | Byron Jones <bjones@mozilla.com> | 2012-10-16 09:13:48 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-10-16 09:13:48 +0200 |
commit | ddb100352de89b6155a864838e7fa1a26bbbf93c (patch) | |
tree | ed8b41860eabb4dad4964700ba15d4c44ff6aef9 /template/en/default/bug | |
parent | fa48b7a2e8a395b84076d20a0965a31ce6d130ee (diff) | |
download | bugzilla-ddb100352de89b6155a864838e7fa1a26bbbf93c.tar.gz bugzilla-ddb100352de89b6155a864838e7fa1a26bbbf93c.tar.xz |
Bug 797680: make "reset assignee/qa-contact to default" unchecked if the assignee/qa-contact has changed from defaults
r=LpSolit, r=LpSolit
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 0d86f02fa..71afc09dc 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -283,9 +283,6 @@ bug = bug, field = bug_fields.op_sys, no_tds = 1, value = bug.op_sys editable = bug.check_can_change_field('op_sys', 0, 1) %] - <script type="text/javascript"> - assignToDefaultOnChange(['product', 'component']); - </script> </td> </tr> @@ -464,6 +461,11 @@ </td> </tr> [% END %] + <script type="text/javascript"> + assignToDefaultOnChange(['product', 'component'], + '[% bug.component_obj.default_assignee.login FILTER js %]', + '[% bug.component_obj.default_qa_contact.login FILTER js %]'); + </script> [% END %] [%############################################################################%] |