]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 283361 : 'Deadline' info not saved in bookmarkable template
authortravis%sedsystems.ca <>
Sat, 26 Feb 2005 00:58:40 +0000 (00:58 +0000)
committertravis%sedsystems.ca <>
Sat, 26 Feb 2005 00:58:40 +0000 (00:58 +0000)
Patch by Shane H. W. Travis <travis@sedsystems.ca>  r=wurblzap  a=myk

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

index e9b5991385157debc37a6dba9fcc116496ada597..0dca344edff2e8eedeeb6b450e82a9f927fdba54 100755 (executable)
@@ -357,6 +357,7 @@ if ($cloned_bug_id) {
     $vars->{'keywords'}       = $cloned_bug->{'keywords'};
     $vars->{'dependson'}      = $cloned_bug_id;
     $vars->{'blocked'}        = "";
+    $vars->{'deadline'}       = $cloned_bug->{'deadline'};
 
     if (exists $cloned_bug->{'cc'}) {
         $vars->{'cc'}         = join (" ", @{$cloned_bug->{'cc'}});
@@ -400,6 +401,7 @@ else {
     $vars->{'keywords'}       = formvalue('keywords');
     $vars->{'dependson'}      = formvalue('dependson');
     $vars->{'blocked'}        = formvalue('blocked');
+    $vars->{'deadline'}       = formvalue('deadline');
 
     $vars->{'cc'}             = formvalue('cc');
 
index 946072b316fc2722f312811c78a8821ccc66b299..d5ea69bdbc0da1b815d54108ccbfe0a3ee48c7cd 100644 (file)
@@ -231,7 +231,7 @@ function set_assign_to() {
   <tr>
     <td align="right"><strong>Deadline:</strong></td>
     <td colspan="3">
-      <input name="deadline" size="10" maxlength="10">
+      <input name="deadline" size="10" maxlength="10" value="[% deadline FILTER html %]">
       <small>(YYYY-MM-DD)</small>
     </td>
   </tr>