]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 249863: Move hidden initial state INPUT field at the beginning of the...
authorjocuri%softhome.net <>
Thu, 8 Jul 2004 06:44:01 +0000 (06:44 +0000)
committerjocuri%softhome.net <>
Thu, 8 Jul 2004 06:44:01 +0000 (06:44 +0000)
template/en/default/bug/create/create.html.tmpl

index 049640f2a514b2ee797205e2575e0c84d60258e7..571a263edbdf9b21dac2f60052a5244f3ca2224c 100644 (file)
@@ -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>