From 8687348f8f8d09e27a0ee89dfe43c49779ced8ce Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 6 Jan 2016 20:09:23 +0000 Subject: Bug 1236955 - [form.mdn] Please add component drop-down to custom form --- .../en/default/bug/create/create-mdn.html.tmpl | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl index 9f2d480a0..89c28f114 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl @@ -95,6 +95,7 @@ strong.required:before { validateAndSubmit: function() { var alert_text = ''; var request_type = this._current_type; + if (!isFilledOut('component')) alert_text += 'Please select a "Component".\n'; if (!isFilledOut('short_desc')) alert_text += 'Please enter a "Summary".\n'; for (require_type in this._required_fields) { if (require_type == request_type) { @@ -182,7 +183,6 @@ strong.required:before { onSubmit="return mdn.validateAndSubmit();"> - @@ -231,8 +231,23 @@ strong.required:before {

- Summary
- + Component
+ +

+ +

+ Summary
+

-- cgit v1.2.3-24-g4f1b