Skip to content

Commit

Permalink
Bug 1019747: New user story field in Tracking product is getting copi…
Browse files Browse the repository at this point in the history
…ed from Description, not User Story when cloning
  • Loading branch information
David Lawrence committed Jun 5, 2014
1 parent b56bcda commit db715a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions enter_bug.cgi
Expand Up @@ -294,6 +294,9 @@ if ($cloned_bug_id) {
$vars->{'comment_is_private'} = $isprivate;
}

# BMO Bug 1019747
$vars->{'cloned_bug'} = $cloned_bug;

} # end of cloned bug entry form

else {
Expand Down
Expand Up @@ -20,14 +20,16 @@
</span>
</div>
<div id="user_story_edit_container" class="bz_default_hidden">
[% INCLUDE global/textarea.html.tmpl
[% user_story_default = cloned_bug ? cloned_bug.cf_user_story : "" %]
[% INCLUDE global/textarea.html.tmpl
name = 'cf_user_story'
id = 'user_story'
minrows = 10
maxrows = 10
cols = constants.COMMENT_COLS
disabled = 1
%]
defaultcontent = user_story_default
%]
</div>
<script type="text/javascript">
var user_story_components = [];
Expand Down

0 comments on commit db715a7

Please sign in to comment.