Commit 88bee1a2 authored by reed%reedloden.com's avatar reed%reedloden.com

Bug 364835 - "current bug number should be filled in in "to bugs" input box to…

Bug 364835 - "current bug number should be filled in in "to bugs" input box to simplify tagging" [p=reed r=bkor a=justdave]
parent 466c52b6
......@@ -99,6 +99,9 @@ $vars->{'bugs'} = \@bugs;
$vars->{'marks'} = \%marks;
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
my @bugids = map {$_->bug_id} @bugs;
$vars->{'bugids'} = join(", ", @bugids);
# Next bug in list (if there is one)
my @bug_list;
if ($cgi->cookie("BUGLIST")) {
......
......@@ -247,6 +247,10 @@
'series.frequency * 2',
],
'global/per-bug-queries.html.tmpl' => [
'" value=\"$bugids\"" IF bugids',
],
'global/select-menu.html.tmpl' => [
'options',
'size',
......
......@@ -93,7 +93,8 @@
</span>
<span id="lob_direction">to</span>
[%+ terms.bugs %]
<input type="text" name="bug_ids" size="12" maxlength="80">
<input type="text" name="bug_ids" size="12" maxlength="80"
[%- " value=\"$bugids\"" IF bugids %]>
<input type="submit" value="Commit" id="commit_list_of_bugs">
</form>
</li></ul>
......
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