summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-18 09:07:57 +0200
committerByron Jones <bjones@mozilla.com>2013-07-18 09:07:57 +0200
commitcc20ecfa1b8c151690e8d12c8ad5c544fa1a4a5a (patch)
tree3202a2614139d143131fa5b900a928ec64ce6be3 /extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl
parent1551a42f3337482bd6aaa1493d987e05d704f128 (diff)
downloadbugzilla-cc20ecfa1b8c151690e8d12c8ad5c544fa1a4a5a.tar.gz
bugzilla-cc20ecfa1b8c151690e8d12c8ad5c544fa1a4a5a.tar.xz
Bug 804708: Add a 'Review' extension to customise the review flag for Mozilla's workflow (make requestee/reviewer mandatory, provide review suggestions, etc)
Diffstat (limited to 'extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl')
-rw-r--r--extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl b/extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl
new file mode 100644
index 000000000..a59cef950
--- /dev/null
+++ b/extensions/Review/template/en/default/hook/bug/create/create-end.html.tmpl
@@ -0,0 +1,16 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+<script>
+ YAHOO.util.Event.onDOMReady(function() {
+ [% IF product.reviewer_required %]
+ REVIEW.init_mandatory();
+ [% END %]
+ REVIEW.init_enter_bug();
+ });
+</script>