зеркало из https://github.com/mozilla/pjs.git
Bug 152935 - Pref for no notification on Target Milestone change not respected. Patch by jodym@oeone.com; r=bbaetz, gerv.
This commit is contained in:
Родитель
031be29095
Коммит
0aa265a7a7
|
@ -393,7 +393,7 @@ sub filterExcludeList ($$) {
|
|||
# if the Status was changed to Resolved or Verified
|
||||
# set the Resolved flag
|
||||
#
|
||||
# else if Severity, Status OR Priority fields have any change
|
||||
# else if Severity, Status, Target Milestone OR Priority fields have any change
|
||||
# set the Status flag
|
||||
#
|
||||
# else if Keywords has changed
|
||||
|
@ -426,14 +426,14 @@ sub getEmailAttributes (\%\@$) {
|
|||
|
||||
#print qq{field: $fieldName $new<br>};
|
||||
|
||||
# the STATUS will be flagged for Severity, Status and
|
||||
# the STATUS will be flagged for Severity, Status, Target Milestone and
|
||||
# Priority changes
|
||||
#
|
||||
if ( $fieldName eq 'Status' && ($new eq 'RESOLVED' || $new eq 'VERIFIED')) {
|
||||
push (@flags, 'Resolved');
|
||||
}
|
||||
elsif ( $fieldName eq 'Severity' || $fieldName eq 'Status' ||
|
||||
$fieldName eq 'Priority' ) {
|
||||
$fieldName eq 'Priority' || $fieldName eq 'Target Milestone') {
|
||||
push (@flags, 'Status');
|
||||
} elsif ( $fieldName eq 'Keywords') {
|
||||
push (@flags, 'Keywords');
|
||||
|
|
Загрузка…
Ссылка в новой задаче