diff options
author | travis%sedsystems.ca <> | 2005-02-26 01:58:40 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-26 01:58:40 +0100 |
commit | 5d8f3d8e3d5309dbdbb86ab65c7712f370e861fa (patch) | |
tree | 87d90b7c93db795657b64b33fd324b53d9043cbf | |
parent | 17326153d8a11b8bd1f5b2189ccd85d94a57cd7b (diff) | |
download | bugzilla-5d8f3d8e3d5309dbdbb86ab65c7712f370e861fa.tar.gz bugzilla-5d8f3d8e3d5309dbdbb86ab65c7712f370e861fa.tar.xz |
Bug 283361 : 'Deadline' info not saved in bookmarkable template
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=wurblzap a=myk
-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> |