diff options
-rwxr-xr-x | enter_bug.cgi | 2 | ||||
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index e9b599138..0dca344ed 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -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'); diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 946072b31..d5ea69bdb 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -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> |