summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-01 23:32:59 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-10-01 23:32:59 +0200
commitf992c47e20fead291326400fce54762010e1f687 (patch)
treeb2685fba304f4864e6e6580ecaa57aa05dc72d38
parenta7a445ae1d76c7f2d090a951267e20cb337ea7e9 (diff)
downloadbugzilla-f992c47e20fead291326400fce54762010e1f687.tar.gz
bugzilla-f992c47e20fead291326400fce54762010e1f687.tar.xz
Bug 1209332: Make the master kick-off bug "Confidential Mozilla Employee Bug" by default
-rw-r--r--extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl16
-rw-r--r--extensions/MozProjectReview/web/js/moz_project_review.js10
2 files changed, 1 insertions, 25 deletions
diff --git a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
index 9c679dfa1..4f2173445 100644
--- a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
+++ b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
@@ -37,6 +37,7 @@
<input type="hidden" id="version" name="version" value="other">
<input type="hidden" id="format" name="format" value="moz-project-review">
<input type="hidden" id="bug_severity" name="bug_severity" value="normal">
+ <input type="hidden" id="groups" name="groups" value="mozilla-employee-confidential">
<input type="hidden" id="token" name="token" value="[% token FILTER html %]">
<div id="initial_questions">
@@ -51,21 +52,6 @@
</span>
</div>
- <div id="visibility_row" class="field_row">
- <span class="field_label required">Project Visibility:</span>
- <span class="field_data">
- <div class="field_description">
- Whether project itself is a secret or not (dependent [% terms.bugs %],
- e.g. Finance and Sec Review, will be made secure whatever you choose).
- </div>
- <select name="visibility" id="visibility">
- <option value="">Select One</option>
- <option value="public">Public</option>
- <option value="private">MoCo Confidentional</option>
- </select>
- </span>
- </div>
-
<div id="tracking_id_row" class="field_row">
<span class="field_label">Tracking [% terms.Bug %] ID:</span>
<span class="field_data">
diff --git a/extensions/MozProjectReview/web/js/moz_project_review.js b/extensions/MozProjectReview/web/js/moz_project_review.js
index 41e8514df..e2a198e2a 100644
--- a/extensions/MozProjectReview/web/js/moz_project_review.js
+++ b/extensions/MozProjectReview/web/js/moz_project_review.js
@@ -13,7 +13,6 @@ var MPR = {
required_fields: {
"initial_questions": {
"short_desc": "Please enter a value for project or feature name in the initial questions section",
- "visibility": "Please select a value for project visibility in the initial questions section",
"cc": "Please enter a value for points of contact in the initial questions section",
"key_initiative": "Please select a value for key initiative in the initial questions section",
"release_date": "Please enter a value for release date in the initial questions section",
@@ -238,15 +237,6 @@ var MPR = {
return false;
}
- var visibility = MPR.fieldValue('visibility');
- if (visibility == 'private') {
- var groups = document.createElement('input');
- groups.type = 'hidden';
- groups.name = 'groups';
- groups.value = 'mozilla-employee-confidential';
- Dom.get('mozProjectForm').appendChild(groups);
- }
-
return true;
},