Commit 5d8f3d8e authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 283361 : 'Deadline' info not saved in bookmarkable template

Patch by Shane H. W. Travis <travis@sedsystems.ca> r=wurblzap a=myk
parent 17326153
...@@ -357,6 +357,7 @@ if ($cloned_bug_id) { ...@@ -357,6 +357,7 @@ if ($cloned_bug_id) {
$vars->{'keywords'} = $cloned_bug->{'keywords'}; $vars->{'keywords'} = $cloned_bug->{'keywords'};
$vars->{'dependson'} = $cloned_bug_id; $vars->{'dependson'} = $cloned_bug_id;
$vars->{'blocked'} = ""; $vars->{'blocked'} = "";
$vars->{'deadline'} = $cloned_bug->{'deadline'};
if (exists $cloned_bug->{'cc'}) { if (exists $cloned_bug->{'cc'}) {
$vars->{'cc'} = join (" ", @{$cloned_bug->{'cc'}}); $vars->{'cc'} = join (" ", @{$cloned_bug->{'cc'}});
...@@ -400,6 +401,7 @@ else { ...@@ -400,6 +401,7 @@ else {
$vars->{'keywords'} = formvalue('keywords'); $vars->{'keywords'} = formvalue('keywords');
$vars->{'dependson'} = formvalue('dependson'); $vars->{'dependson'} = formvalue('dependson');
$vars->{'blocked'} = formvalue('blocked'); $vars->{'blocked'} = formvalue('blocked');
$vars->{'deadline'} = formvalue('deadline');
$vars->{'cc'} = formvalue('cc'); $vars->{'cc'} = formvalue('cc');
......
...@@ -231,7 +231,7 @@ function set_assign_to() { ...@@ -231,7 +231,7 @@ function set_assign_to() {
<tr> <tr>
<td align="right"><strong>Deadline:</strong></td> <td align="right"><strong>Deadline:</strong></td>
<td colspan="3"> <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> <small>(YYYY-MM-DD)</small>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment