Commit cb3b2af4 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 600516: The "Content Type" and "Flags" sections are not displayed when…

Bug 600516: The "Content Type" and "Flags" sections are not displayed when trying to add attachments on an existing bug and the user previously clicked "Hide Advanced Fields" in enter_bug.cgi a=LpSolit (module owner)
parent 01a6545e
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<input type="text" id="description" name="description" size="60" maxlength="200"> <input type="text" id="description" name="description" size="60" maxlength="200">
</td> </td>
</tr> </tr>
<tr class="expert_fields"> <tr[% ' class="expert_fields"' UNLESS bug.id %]>
<th>Content Type:</th> <th>Content Type:</th>
<td> <td>
<em>If the attachment is a patch, check the box below.</em><br> <em>If the attachment is a patch, check the box below.</em><br>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
onchange="if (this.value) this.form.contenttypemethod[2].checked = true;"> onchange="if (this.value) this.form.contenttypemethod[2].checked = true;">
</td> </td>
</tr> </tr>
<tr class="expert_fields"> <tr[% ' class="expert_fields"' UNLESS bug.id %]>
<td> </td> <td> </td>
<td> <td>
[% IF flag_types && flag_types.size > 0 %] [% IF flag_types && flag_types.size > 0 %]
......
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