summaryrefslogtreecommitdiffstats
path: root/extensions/MozProjectReview/web
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-22 22:53:20 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-04-22 22:53:20 +0200
commit678ad043bb0ec1200f46c2a6862f3d3f4e3f3315 (patch)
tree74bccb19db4fe29853f6c406a84312efe3ddc115 /extensions/MozProjectReview/web
parenta2afcee45b576bb44daa32712a72905435efc450 (diff)
downloadbugzilla-678ad043bb0ec1200f46c2a6862f3d3f4e3f3315.tar.gz
bugzilla-678ad043bb0ec1200f46c2a6862f3d3f4e3f3315.tar.xz
Bug 841440 - Project Kickoff Form: Remove Several Questions
Diffstat (limited to 'extensions/MozProjectReview/web')
-rw-r--r--extensions/MozProjectReview/web/js/moz_project_review.js47
1 files changed, 2 insertions, 45 deletions
diff --git a/extensions/MozProjectReview/web/js/moz_project_review.js b/extensions/MozProjectReview/web/js/moz_project_review.js
index dca67f2ae..2625c765a 100644
--- a/extensions/MozProjectReview/web/js/moz_project_review.js
+++ b/extensions/MozProjectReview/web/js/moz_project_review.js
@@ -18,7 +18,6 @@ var MPR = {
"key_initiative": "Please select a value for key initiative in the initial questions section",
"project_status": "Please select a value for project status in the initial questions section",
"mozilla_data": "Please select a value for mozilla data in the initial questions section",
- "new_or_change": "Please select a value for new or change to existing project in the initial questions section",
"separate_party": "Please select a value for separate party in the initial questions section"
},
"finance_questions": {
@@ -58,8 +57,6 @@ var MPR = {
'key_initiative',
'project_status',
'mozilla_data',
- 'new_or_change',
- 'mozilla_project',
'separate_party',
'relationship_type',
'data_access',
@@ -74,11 +71,7 @@ var MPR = {
'legal_sow_vendor_product_line',
'legal_vendor_services_where',
'finance_purchase_inbudget',
- 'finance_purchase_urgency',
- 'data_safety_user_data',
- 'data_safety_retention',
- 'data_safety_separate_party',
- 'data_safety_community_visibility'
+ 'finance_purchase_urgency'
],
init: function () {
@@ -106,34 +99,18 @@ var MPR = {
sec_review_questions: false,
privacy_policy_project_questions: false,
privacy_policy_vendor_questions: false,
- data_safety_questions: false,
- data_safety_extra_questions: false,
- mozilla_project_row: false,
privacy_policy_project_link_row: false,
privacy_policy_project_user_data_bug_row: false,
- privacy_policy_vendor_extra: false,
- data_safety_extra_questions: false,
- data_safety_retention_length_row: false,
- data_safety_separate_party_data_row: false,
- data_safety_communication_channels_row: false,
- data_safety_communication_plan_row: false,
+ privacy_policy_vendor_extra: false
};
if (Dom.get('key_initiative').value == 'Other') {
page_sections.key_initiative_other_row = true;
}
- if (Dom.get('new_or_change').value == 'Existing') {
- page_sections.mozilla_project_row = true;
- }
-
- if (Dom.get('new_or_change').value == 'New')
- page_sections.legal_questions = true;
-
if (Dom.get('mozilla_data').value == 'Yes') {
page_sections.legal_questions = true;
page_sections.privacy_policy_project_questions = true;
- page_sections.data_safety_questions = true;
page_sections.sec_review_questions = true;
}
@@ -196,26 +173,6 @@ var MPR = {
page_sections.privacy_policy_vendor_extra = true;
}
- if (Dom.get('data_safety_user_data').value == 'Yes') {
- page_sections.data_safety_extra_questions = true;
- }
-
- if (Dom.get('data_safety_retention').value == 'Yes') {
- page_sections.data_safety_retention_length_row = true;
- }
-
- if (Dom.get('data_safety_separate_party').value == 'Yes') {
- page_sections.data_safety_separate_party_data_row = true;
- }
-
- if (Dom.get('data_safety_community_visibility').value == 'Yes') {
- page_sections.data_safety_communication_channels_row = true;
- }
-
- if (Dom.get('data_safety_community_visibility').value == 'No') {
- page_sections.data_safety_communication_plan_row = true;
- }
-
// Toggle the individual page_sections
for (section in page_sections) {
MPR.toggleShowSection(section, page_sections[section]);