Commit 6e55e760 authored by terry%mozilla.org's avatar terry%mozilla.org

Don't complain that the user isn't doing anything if he is actually

changing keywords.
parent 438b9fe1
...@@ -397,7 +397,9 @@ if ($::FORM{'keywords'}) { ...@@ -397,7 +397,9 @@ if ($::FORM{'keywords'}) {
} }
} }
if ($::comma eq "") { my $keywordaction = $::FORM{'keywordaction'} || "makeexact";
if ($::comma eq "" && 0 == @keywordlist && $keywordaction ne "makeexact") {
if (!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/) { if (!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/) {
print "Um, you apparently did not change anything on the selected\n"; print "Um, you apparently did not change anything on the selected\n";
print "bugs. <p>Click <b>Back</b> and try again.\n"; print "bugs. <p>Click <b>Back</b> and try again.\n";
...@@ -445,9 +447,6 @@ sub SnapShotKeywords { ...@@ -445,9 +447,6 @@ sub SnapShotKeywords {
} }
my $keywordaction = $::FORM{'keywordaction'} || "makeexact";
my $whoid = DBNameToIdAndCheck($::FORM{'who'}); my $whoid = DBNameToIdAndCheck($::FORM{'who'});
my $timestamp; my $timestamp;
......
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