diff options
author | Byron Jones <bjones@mozilla.com> | 2013-07-18 10:33:37 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-07-18 10:33:37 +0200 |
commit | e9b29030a7680cf792ca6aba754278f1ea172208 (patch) | |
tree | c02d65491593478e5ebebb1acc807e92062d40c2 /extensions | |
parent | 2e44b36b22fb0304a3798ccfd7b5af87ae943258 (diff) | |
download | bugzilla-e9b29030a7680cf792ca6aba754278f1ea172208.tar.gz bugzilla-e9b29030a7680cf792ca6aba754278f1ea172208.tar.xz |
Fix review extension's attachment init
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Review/template/en/default/hook/attachment/create-end.html.tmpl | 6 |
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 %] |