Commit 08b64f4d authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 264868: show_bug.cgi should honour 'emailsuffix' in 'Reassign bug…

Patch for bug 264868: show_bug.cgi should honour 'emailsuffix' in 'Reassign bug to' field; patch by Marc Schumann <wurblzap@gmail.com>, r=vladd, a=justdave.
parent cde5ae8d
......@@ -289,7 +289,7 @@
<td colspan="7">
[% INCLUDE global/userselect.html.tmpl
name => "qa_contact"
value => bug.qa_contact.email
value => bug.qa_contact.login
accesskey => "q"
size => 60
emptyok => 1
......
......@@ -96,10 +96,10 @@
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
[% terms.bug %] to
</label>
[% safe_assigned_to = FILTER js; bug.assigned_to.email; END %]
[% safe_assigned_to = FILTER js; bug.assigned_to.login; END %]
[% INCLUDE global/userselect.html.tmpl
name => "assigned_to"
value => bug.assigned_to.email
value => bug.assigned_to.login
size => 32
onchange => "if ((this.value != '$safe_assigned_to') && (this.value != '')) {
document.changeform.knob[$knum].checked=true;
......
......@@ -97,7 +97,7 @@
<select name="[% field.key FILTER html %]"
id="[% field.key FILTER html %]">
[% FOREACH match = query.value.users %]
<option value="[% match.email FILTER html %]">
<option value="[% match.login FILTER html %]">
[%- match.identity FILTER html -%]
</option>
[% END %]
......@@ -118,7 +118,7 @@
multiple="multiple" size="[% query.value.users.size %]">
[% END %]
[% FOREACH match = query.value.users %]
<option value="[% match.email FILTER html %]">
<option value="[% match.login FILTER html %]">
[%- match.identity FILTER html -%]
</option>
[% END %]
......
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