diff options
author | jocuri%softhome.net <> | 2004-07-08 08:44:01 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-07-08 08:44:01 +0200 |
commit | 8df71955b11c27791f3b04808adbe31e3529f796 (patch) | |
tree | 65169a8a10436b41f7a0ebf8bfe5fb26f4c8a84c /template/en/default/bug | |
parent | a33e1550f4d3827de1217cd8d299cfe804669741 (diff) | |
download | bugzilla-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.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 9 |
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> |