summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorguy.pyrzak%gmail.com <>2008-04-10 23:43:43 +0200
committerguy.pyrzak%gmail.com <>2008-04-10 23:43:43 +0200
commitf677f665134284c329c07061158cd30ba1ae74bb (patch)
tree30798b699df3abcd8c17407a56a447c6561afbab /template/en/default
parent82db8a0fdef47de50d969546e67afc6ab6b627cd (diff)
downloadbugzilla-f677f665134284c329c07061158cd30ba1ae74bb.tar.gz
bugzilla-f677f665134284c329c07061158cd30ba1ae74bb.tar.xz
Bug 427219 Ð The "Reset QA Contact to default" checkbox remains bold when editing the component if qa contact is blank
Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat a=mkanat Patch removes the init for the QA field to be outside of the check to see if the field is blank.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/edit.html.tmpl20
1 files changed, 10 insertions, 10 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 631de7519..d096bbbf2 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -526,16 +526,16 @@
<input type="checkbox" id="set_default_qa_contact" name="set_default_qa_contact" value="1">
<label for="set_default_qa_contact" id="set_default_qa_contact_label">Reset QA Contact to default</label>
</div>
- [% IF bug.qa_contact != "" %]
- <script type="text/javascript">
- hideEditableField('bz_qa_contact_edit_container',
- 'bz_qa_contact_input',
- 'bz_qa_contact_edit_action',
- 'qa_contact',
- '[% bug.qa_contact.login FILTER js %]');
- initDefaultCheckbox('qa_contact');
- </script>
- [% END %]
+ <script type="text/javascript">
+ [% IF bug.qa_contact != "" %]
+ hideEditableField('bz_qa_contact_edit_container',
+ 'bz_qa_contact_input',
+ 'bz_qa_contact_edit_action',
+ 'qa_contact',
+ '[% bug.qa_contact.login FILTER js %]');
+ [% END %]
+ initDefaultCheckbox('qa_contact');
+ </script>
[% ELSE %]
[% INCLUDE user_identity user => bug.qa_contact %]
[% END %]