summaryrefslogtreecommitdiffstats
path: root/extensions/OrangeFactor/Extension.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-06-01 17:48:35 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-06-01 17:48:35 +0200
commit407add6f1ad02e5dc907a154bd334ea76e7411b2 (patch)
tree7a05b98864f98c9de5b280e452eaa534387de5cc /extensions/OrangeFactor/Extension.pm
parenta092e46153b5bf826fcc88f4908122f7f3e96370 (diff)
downloadbugzilla-407add6f1ad02e5dc907a154bd334ea76e7411b2.tar.gz
bugzilla-407add6f1ad02e5dc907a154bd334ea76e7411b2.tar.xz
Bug 1153105 - add orange factor to modal view
Diffstat (limited to 'extensions/OrangeFactor/Extension.pm')
-rw-r--r--extensions/OrangeFactor/Extension.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/OrangeFactor/Extension.pm b/extensions/OrangeFactor/Extension.pm
index 14d500ba0..5e9698718 100644
--- a/extensions/OrangeFactor/Extension.pm
+++ b/extensions/OrangeFactor/Extension.pm
@@ -23,7 +23,9 @@ sub template_before_process {
my $user = Bugzilla->user;
return unless ($file eq 'bug/show-header.html.tmpl'
- || $file eq 'bug/edit.html.tmpl');
+ || $file eq 'bug/edit.html.tmpl'
+ || $file eq 'bug_modal/header.html.tmpl'
+ || $file eq 'bug_modal/edit.html.tmpl');
return unless ($user->id
&& $user->settings->{'orange_factor'}->{'value'} eq 'on');