summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Review/template')
-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 %]