summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorzach%zachlipton.com <>2001-10-02 10:20:52 +0200
committerzach%zachlipton.com <>2001-10-02 10:20:52 +0200
commitbcb60f70212c02a10a2500e731cd0864379457b6 (patch)
tree80e9f568f66c0ea83e27219ee920aa25b4b5e34e /bug_form.pl
parent3d758ec09e9fa82af194c5022d8ed46bb29f2440 (diff)
downloadbugzilla-bcb60f70212c02a10a2500e731cd0864379457b6.tar.gz
bugzilla-bcb60f70212c02a10a2500e731cd0864379457b6.tar.xz
Fix for bug 52885: automatic radio selection for reassign shouldn't
trigger if new text is same as original owner or empty. Patch by Christopher Aillon (caillon@returnzero.com). R=Bradley Baetz (bbaetz@cs.mcgill.ca). No 2nd review needed.
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 21e9e32cf..0ce4f29bd 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -498,7 +498,7 @@ if ($canedit || $::userid == $assignedtoid ||
Resolve bug, mark it as duplicate of bug #
<INPUT NAME=dup_id SIZE=6 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\"><br>\n";
$knum++;
- my $assign_element = "<INPUT NAME=\"assigned_to\" SIZE=32 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\" VALUE=\"$bug{'assigned_to_email'}\">";
+ my $assign_element = "<INPUT NAME=\"assigned_to\" SIZE=32 ONCHANGE=\"if ((this.value != ".SqlQuote($bug{'assigned_to_email'}) .") && (this.value != '')) { document.changeform.knob\[$knum\].checked=true; }\" VALUE=\"$bug{'assigned_to_email'}\">";
print "<INPUT TYPE=radio NAME=knob VALUE=reassign>
<A HREF=\"bug_status.html#assigned_to\">Reassign</A> bug to