diff options
author | mkanat%bugzilla.org <> | 2008-02-08 06:56:31 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-02-08 06:56:31 +0100 |
commit | fad558c794527a2c0bd32b378917be0fc27e453f (patch) | |
tree | f63b1d24514aeaa38c852f95d06728baf08dda53 /template/en/default | |
parent | 1f0e11b9bbe5b880c488b214a45755792646f0b3 (diff) | |
download | bugzilla-fad558c794527a2c0bd32b378917be0fc27e453f.tar.gz bugzilla-fad558c794527a2c0bd32b378917be0fc27e453f.tar.xz |
Bug 414284: Bug edit page is bad for changing components
Patch By Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 2723c654e..63913beee 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -379,6 +379,9 @@ <td> [% PROCESS select selname => "rep_platform" no_td=> 1 %] [%+ PROCESS select selname => "op_sys" no_td=> 1 %] + <script type="text/javascript"> + assignToDefaultOnChange(['product', 'component']); + </script> </td> </tr> @@ -482,7 +485,7 @@ %] <br> <input type="checkbox" id="set_default_assignee" name="set_default_assignee" value="1"> - <label for="set_default_assignee">Reset Assignee to default</label> + <label id="set_default_assignee_label" for="set_default_assignee">Reset Assignee to default</label> </div> <script type="text/javascript"> hideEditableField('bz_assignee_edit_container', @@ -526,7 +529,10 @@ %] <br> <input type="checkbox" id="set_default_qa_contact" name="set_default_qa_contact" value="1"> - <label for="set_default_qa_contact">Reset QA Contact to default</label> + <label for="set_default_qa_contact" id="set_default_qa_contact_label">Reset QA Contact to default</label> + <script type="text/javascript"> + initAssignedQA(); + </script> </div> [% IF bug.qa_contact != "" %] <script type="text/javascript"> |