Bug 55095
Don't enforce initial cc list git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@484 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
72d3ef02e7
commit
5925f91a29
|
@ -1229,8 +1229,9 @@ sub _check_cc {
|
|||
$cc_ids{$id} = 1;
|
||||
}
|
||||
|
||||
# Enforce Default CC
|
||||
$cc_ids{$_->id} = 1 foreach (@{$component->initial_cc});
|
||||
# CustIS Bug 55095: Don't enforce default CC
|
||||
## Enforce Default CC
|
||||
#$cc_ids{$_->id} = 1 foreach (@{$component->initial_cc});
|
||||
|
||||
return [keys %cc_ids];
|
||||
}
|
||||
|
|
|
@ -141,13 +141,7 @@ function set_assign_to() {
|
|||
}
|
||||
}
|
||||
|
||||
if (initialccs[index])
|
||||
{
|
||||
document.getElementById('initial_cc').innerHTML = initialccs[index];
|
||||
document.getElementById('initial_cc_tr').style.display = '';
|
||||
}
|
||||
else
|
||||
document.getElementById('initial_cc_tr').style.display = 'none';
|
||||
document.Create.cc.value = initialccs[index];
|
||||
document.getElementById('comp_desc').innerHTML = comp_desc[index];
|
||||
|
||||
[% IF Param("useqacontact") %]
|
||||
|
@ -489,18 +483,6 @@ TUI_hide_default('expert_fields');
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="initial_cc_tr" style="display:none">
|
||||
<th>Default CC:</th>
|
||||
<td colspan="2">
|
||||
<div id="initial_cc">
|
||||
<!-- This has to happen after everything above renders,
|
||||
and onload doesn't work. So this is as good a place
|
||||
as any to put it. -->
|
||||
<script type="text/javascript">set_assign_to();</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="4"><hr /></td></tr>
|
||||
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue