summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-02 18:09:22 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-10-02 18:09:22 +0200
commit526300fc885ef30d63c8a7ba44bce105ef1b3799 (patch)
tree48759287dc38a0bbeef759c5baa2ec828b9525fb
parentfcc39a818dc14469d99314c7345f319d3921e861 (diff)
downloadbugzilla-526300fc885ef30d63c8a7ba44bce105ef1b3799.tar.gz
bugzilla-526300fc885ef30d63c8a7ba44bce105ef1b3799.tar.xz
Bug 1210654: "MozReview Requests" is not shown in the page after submitting a change
-rw-r--r--extensions/MozReview/Extension.pm4
1 files changed, 2 insertions, 2 deletions
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});