Commit f677f665 authored by guy.pyrzak%gmail.com's avatar guy.pyrzak%gmail.com

Bug 427219 Ð The "Reset QA Contact to default" checkbox remains bold when…

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.
parent 82db8a0f
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment