summaryrefslogtreecommitdiffstats
path: root/extensions/Review
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-18 10:33:37 +0200
committerByron Jones <bjones@mozilla.com>2013-07-18 10:33:37 +0200
commite9b29030a7680cf792ca6aba754278f1ea172208 (patch)
treec02d65491593478e5ebebb1acc807e92062d40c2 /extensions/Review
parent2e44b36b22fb0304a3798ccfd7b5af87ae943258 (diff)
downloadbugzilla-e9b29030a7680cf792ca6aba754278f1ea172208.tar.gz
bugzilla-e9b29030a7680cf792ca6aba754278f1ea172208.tar.xz
Fix review extension's attachment init
Diffstat (limited to 'extensions/Review')
-rw-r--r--extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl b/extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl
index c8e2a68a1..55226545d 100644
--- a/extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl
+++ b/extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl
@@ -10,11 +10,11 @@
[% bug = attachment.bug %]
[% END %]
-[% IF bug.product_obj.reviewer_required %]
<script>
YAHOO.util.Event.onDOMReady(function() {
- REVIEW.init_mandatory();
+ [% IF bug.product_obj.reviewer_required %]
+ REVIEW.init_mandatory();
+ [% END %]
REVIEW.init_create_attachment();
});
</script>
-[% END %]