<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">
</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">
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",
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;
},