summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-07-08 08:44:01 +0200
committerjocuri%softhome.net <>2004-07-08 08:44:01 +0200
commit8df71955b11c27791f3b04808adbe31e3529f796 (patch)
tree65169a8a10436b41f7a0ebf8bfe5fb26f4c8a84c
parenta33e1550f4d3827de1217cd8d299cfe804669741 (diff)
downloadbugzilla-8df71955b11c27791f3b04808adbe31e3529f796.tar.gz
bugzilla-8df71955b11c27791f3b04808adbe31e3529f796.tar.xz
Patch for bug 249863: Move hidden initial state INPUT field at the beginning of the table (previously it was inserted between table rows, causing invalid HTML); patch by GavinS <bugzilla@chimpychompy.org>; r=vladd, a=justdave.
-rw-r--r--template/en/default/bug/create/create.html.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 049640f2a..571a263ed 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -70,6 +70,12 @@ function set_assign_to() {
<form name="Create" id="Create" method="post" action="post_bug.cgi">
<input type="hidden" name="product" value="[% product FILTER html %]">
+[% IF bug_status.size <= 1 %]
+ <input type="hidden" name="bug_status"
+ value="[% default.bug_status FILTER html %]">
+[% END %]
+
+
<table cellspacing="2" cellpadding="0" border="0">
<tr>
@@ -169,9 +175,6 @@ function set_assign_to() {
<td colspan="2"></td>
</tr>
-[% ELSE %]
- <input type="hidden" name="bug_status"
- value="[% default.bug_status FILTER html %]">
[% END %]
<tr>