summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-03-15 21:06:29 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-15 21:06:40 +0100
commit4da65f234a74e4c8c2d2ec9bd20e812175787194 (patch)
tree00eb8c16156f88ee45564a974a77edbc621837dc /template/en/default
parent3bd594bda826fab97a7ee6029bae0fca77b1de6a (diff)
downloadbugzilla-4da65f234a74e4c8c2d2ec9bd20e812175787194.tar.gz
bugzilla-4da65f234a74e4c8c2d2ec9bd20e812175787194.tar.xz
Bug 1344979 - When adding a patch to an unassigned bug, pre-check the reassignment checkbox
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/attachment/create.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index d2dfce5cc..63bf14b37 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -84,7 +84,7 @@ TUI_hide_default('attachment_text_field');
<td>
<em>If you want to assign this [% terms.bug %] to yourself,
check the box below.</em><br>
- <input type="checkbox" id="takebug" name="takebug" value="1">
+ <input type="checkbox" id="takebug" name="takebug" value="1" [% IF bug.assigned_to.login == "nobody@mozilla.org" || bug.assigned_to.login.search('.bugs$') %] checked [% END %]>
<label for="takebug">take [% terms.bug %]</label>
[% bug_statuses = [] %]
[% FOREACH bug_status = bug.status.can_change_to %]