summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-29 12:09:26 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-29 12:09:26 +0200
commitcb3b2af430d6cfa4dc0049296ff487c78d8c6a53 (patch)
tree535b19abaeb888cde726b7de41c48e2d34cc0650 /template/en/default/attachment
parent01a6545ec1a041e21f4a2542fc4c2c0eeeec52ba (diff)
downloadbugzilla-cb3b2af430d6cfa4dc0049296ff487c78d8c6a53.tar.gz
bugzilla-cb3b2af430d6cfa4dc0049296ff487c78d8c6a53.tar.xz
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)
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/createformcontents.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl
index 42169796e..a1e168bec 100644
--- a/template/en/default/attachment/createformcontents.html.tmpl
+++ b/template/en/default/attachment/createformcontents.html.tmpl
@@ -49,7 +49,7 @@
<input type="text" id="description" name="description" size="60" maxlength="200">
</td>
</tr>
-<tr class="expert_fields">
+<tr[% ' class="expert_fields"' UNLESS bug.id %]>
<th>Content Type:</th>
<td>
<em>If the attachment is a patch, check the box below.</em><br>
@@ -82,7 +82,7 @@
onchange="if (this.value) this.form.contenttypemethod[2].checked = true;">
</td>
</tr>
-<tr class="expert_fields">
+<tr[% ' class="expert_fields"' UNLESS bug.id %]>
<td> </td>
<td>
[% IF flag_types && flag_types.size > 0 %]