Commit f281bf25 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 76161 - Don't select "resolve as dup" radio button when exiting empty dupe…

Bug 76161 - Don't select "resolve as dup" radio button when exiting empty dupe field. Patch by justdave, r=jake, caillon.
parent f02a1e94
......@@ -496,7 +496,7 @@ if ($canedit || $::userid == $assignedtoid ||
$knum++;
print "<INPUT TYPE=radio NAME=knob VALUE=duplicate>
Resolve bug, mark it as duplicate of bug #
<INPUT NAME=dup_id SIZE=6 ONCHANGE=\"document.changeform.knob\[$knum\].checked=true\"><br>\n";
<INPUT NAME=dup_id SIZE=6 ONCHANGE=\"if (this.value != '') {document.changeform.knob\[$knum\].checked=true}\"><br>\n";
$knum++;
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'}\">";
......
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