]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1209332: Make the master kick-off bug "Confidential Mozilla Employee Bug" by...
authorDavid Lawrence <dkl@mozilla.com>
Thu, 1 Oct 2015 21:32:59 +0000 (21:32 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Thu, 1 Oct 2015 21:32:59 +0000 (21:32 +0000)
extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
extensions/MozProjectReview/web/js/moz_project_review.js

index 9c679dfa159f21e165ebe5ab1cff4543e422c30c..4f2173445b95749ed4a568b154da5d8cb5219a09 100644 (file)
@@ -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">
       </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">
index 41e8514dfa08d50bf155bf3bd34c38d8e5c3e68a..e2a198e2ae50f2900633b92b9877e996e5c5ce9d 100644 (file)
@@ -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;
     },