]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1210654: "MozReview Requests" is not shown in the page after submitting a change
authorDavid Lawrence <dkl@mozilla.com>
Fri, 2 Oct 2015 16:09:22 +0000 (16:09 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Fri, 2 Oct 2015 16:09:22 +0000 (16:09 +0000)
extensions/MozReview/Extension.pm

index 5745cf219c0b0e6f34319a521693d939a827e195..f16c6008b7b97197e301f00b2b066adee5c60986 100644 (file)
@@ -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});