summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-01 22:46:21 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-01 22:46:21 +0200
commitcc18ce2279b2506319bd0a729ce0333d7f8ae0ba (patch)
tree6f7f1224ede2b8d92527f433b60fc2e657252c6b /extensions/BMO
parentdf1d177c7c6edb850020bf54def8c5f401417b72 (diff)
downloadbugzilla-cc18ce2279b2506319bd0a729ce0333d7f8ae0ba.tar.gz
bugzilla-cc18ce2279b2506319bd0a729ce0333d7f8ae0ba.tar.xz
Bug 987765 - Updates to Developer Documentation product's "form.doc" form and configuration
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl26
1 files changed, 2 insertions, 24 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
index 0ff01c50c..5b75976d9 100644
--- a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
@@ -19,25 +19,6 @@
[% END %]
[% inline_javascript = BLOCK %]
-var whiteboard_map = {
- 'Accessibility': 'c=Accessibility u=webdev p=0',
- 'Add-ons': 'c=Addons u=mozdev p=0',
- 'API': 'c=API u=webdev p=0',
- 'Apps': 'c=Apps u=appdev p=0',
- 'CSS': 'c=CSS u=webdev p=0',
- 'Developer Tools': 'c=DevTools u=webdev p=0',
- 'DOM': 'c=DOM u=webdev p=0',
- 'Firefox OS': 'c=FirefoxOS u=mozdev p=0',
- 'General': 'c=General u=webdev p=0',
- 'HTML': 'c=HTML u=webdev p=0',
- 'JavaScript': 'c=JavaScript u=webdev p=0',
- 'Localization': 'c=Localization u=webdev p=0',
- 'MathML': 'c=MathML u=webdev p=0',
- 'Mozilla Platform': 'c=Platform u=mozdev p=0',
- 'Protocols': 'c=Protocols u=webdev p=0',
- 'Security': 'c=Security u=webdev p=0',
- 'SVG': 'c=SVG u=webdev p=0'
-};
function validateAndSubmit() {
var alert_text = '';
if (!isFilledOut('type')) alert_text += 'Please select the "Request Type".\n';
@@ -48,10 +29,6 @@ function validateAndSubmit() {
alert(alert_text);
return false;
}
- var component = YAHOO.util.Dom.get('component').value;
- if (whiteboard_map[component]) {
- YAHOO.util.Dom.get('status_whiteboard').value = whiteboard_map[component];
- }
return true;
}
[% END %]
@@ -105,7 +82,8 @@ function validateAndSubmit() {
<select name="component" id="component">
[% FOREACH component = product.components %]
<option value="[% component.name FILTER html %]"
- [% " selected" IF component.name == "General" %]>
+ [% " selected" IF component.name == "General" %]
+ title="[% component.description FILTER html %]">
[% component.name FILTER html %]
</option>
[% END %]