Force selection of a valid product when doing a mass

reassign-to-component-owner.


git-svn-id: svn://10.0.0.236/trunk@56001 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
terry%mozilla.org
1999-12-14 23:54:30 +00:00
parent efe16b543a
commit 346d6ec8bd

View File

@@ -249,6 +249,11 @@ SWITCH: for ($::FORM{'knob'}) {
last SWITCH;
};
/^reassignbycomponent$/ && do {
if ($::FORM{'product'} eq $::dontchange) {
print "You must specify a product to help determine the new\n";
print "owner of these bugs.\n";
exit 0
}
if ($::FORM{'component'} eq $::dontchange) {
print "You must specify a component whose owner should get\n";
print "assigned these bugs.\n";