From 54fb248d58c8db0082c4d034912c325ae0d0acaf Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 7 May 2015 12:27:43 +0800 Subject: Bug 1161567: always show the intermediate confirmation page when not using the modal view --- Bugzilla/Bug.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 9534b49e2..fbb57409a 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2698,8 +2698,13 @@ sub _set_product { my $verified = $params->{product_change_confirmed}; - # BMO - if everything is ok then we can skip the verfication page - if (!$verified && $component_ok && $version_ok && $milestone_ok) { + # BMO - if everything is ok then we can skip the verfication page when using bug_modal + if (Bugzilla->input_params->{format} // '' eq 'modal' + && !$verified + && $component_ok + && $version_ok + && $milestone_ok + ) { $invalid_groups = $self->get_invalid_groups({ bug_ids => \@idlist, product => $product }); my $has_invalid_group = 0; foreach my $group (@$invalid_groups) { -- cgit v1.2.3-24-g4f1b