]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 220998: Allows blocks, dependson, and keywords values to be part of a...
authormyk%mozilla.org <>
Wed, 4 Feb 2004 04:05:04 +0000 (04:05 +0000)
committermyk%mozilla.org <>
Wed, 4 Feb 2004 04:05:04 +0000 (04:05 +0000)
Original patch by Ludovic Dubost.
r=kiko

enter_bug.cgi
template/en/default/bug/create/create.html.tmpl

index 1dd8aa96cbd97cc0cf5b758273369319eb53f63d..eedd1da7f48d4c331e19411ce619599658bde661 100755 (executable)
@@ -286,6 +286,10 @@ $default{'rep_platform'} = pickplatform();
 $vars->{'op_sys'} = \@legal_opsys; 
 $default{'op_sys'} = pickos();
 
+$vars->{'keywords'} = formvalue('keywords');
+$vars->{'dependson'} = formvalue('dependson');
+$vars->{'blocked'} = formvalue('blocked');
+
 # Use the version specified in the URL, if one is supplied. If not,
 # then use the cookie-specified value. (Posting a bug sets a cookie
 # for the current version.) If no URL or cookie version, the default
index f654779fc795874e57a100a835afdaac86cdc76b..1a6f9de118fab875f8d56c1c55dadd8bbc32c5f4 100644 (file)
@@ -242,7 +242,7 @@ function set_assign_to() {
           </strong>
         </td>
         <td colspan="3">
-          <input name="keywords" size="60" value=""> (optional)
+          <input name="keywords" size="60" value="[% keywords FILTER html %]"> (optional)
         </td>
       </tr>
     [% END %]
@@ -251,7 +251,7 @@ function set_assign_to() {
         <strong>Depends on:</strong>
       </td>
       <td>
-        <input name="dependson" accesskey="d">
+        <input name="dependson" accesskey="d" value="[% dependson FILTER html %]">
       </td>
     </tr>
     <tr>
@@ -259,7 +259,7 @@ function set_assign_to() {
         <strong>Blocks:</strong>
       </td>
       <td>
-        <input name="blocked" accesskey="b">
+        <input name="blocked" accesskey="b" value="[% blocked FILTER html %]">
       </td>
     </tr>
   [% END %]