summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/knob.html.tmpl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-08-11 14:08:10 +0200
committerbugreport%peshkin.net <>2004-08-11 14:08:10 +0200
commitdef7903801fcdbab2f227688375f38c5cb490f27 (patch)
tree770f8d2e9c056cbdf05065b3c86c8f3051210402 /template/en/default/bug/knob.html.tmpl
parentd7a8d47bebd3e45bb9b508e38e594a7b90407a06 (diff)
downloadbugzilla-def7903801fcdbab2f227688375f38c5cb490f27.tar.gz
bugzilla-def7903801fcdbab2f227688375f38c5cb490f27.tar.xz
Bug 251669: add an option to show users in a drop down menu instead of a text edit field
patch by glob <bugzilla@glob.com.au> r=joel a=justdave
Diffstat (limited to 'template/en/default/bug/knob.html.tmpl')
-rw-r--r--template/en/default/bug/knob.html.tmpl15
1 files changed, 9 insertions, 6 deletions
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl
index b93f8099d..8ab0ce0ad 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -96,12 +96,15 @@
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
[% terms.bug %] to
</label>
- <input name="assigned_to" size="32"
- onchange="if ((this.value != '[% bug.assigned_to.email FILTER js FILTER html %]') &&
- (this.value != '')) {
- document.changeform.knob[[% knum %]].checked=true;
- }"
- value="[% bug.assigned_to.email FILTER html %]">
+ [% safe_assigned_to = FILTER js; bug.assigned_to.email; END %]
+ [% INCLUDE global/userselect.html.tmpl
+ name => "assigned_to"
+ value => bug.assigned_to.email
+ size => 32
+ onchange => "if ((this.value != '$safe_assigned_to') && (this.value != '')) {
+ document.changeform.knob[$knum].checked=true;
+ }"
+ %]
<br>
[% IF bug.isunconfirmed && bug.user.canconfirm %]
&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="andconfirm" name="andconfirm">