From 526300fc885ef30d63c8a7ba44bce105ef1b3799 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 2 Oct 2015 16:09:22 +0000 Subject: Bug 1210654: "MozReview Requests" is not shown in the page after submitting a change --- extensions/MozReview/Extension.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/MozReview/Extension.pm b/extensions/MozReview/Extension.pm index 5745cf219..f16c6008b 100644 --- a/extensions/MozReview/Extension.pm +++ b/extensions/MozReview/Extension.pm @@ -34,8 +34,8 @@ sub template_before_process { my $file = $args->{'file'}; my $vars = $args->{'vars'}; - return unless (($file eq 'bug/show-header.html.tmpl' || - $file eq 'bug_modal/header.html.tmpl' || + return unless (($file =~ /bug\/(show-header|edit).html.tmpl$/ || + $file =~ /bug_modal\/(header|edit).html.tmpl$/ || $file eq 'attachment/create.html.tmpl') && Bugzilla->params->{mozreview_base_url}); -- cgit v1.2.3-24-g4f1b