diff options
author | Byron Jones <bjones@mozilla.com> | 2012-12-04 09:13:44 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-12-04 09:13:44 +0100 |
commit | 658988096fae00807553645adc1e1976b2586471 (patch) | |
tree | ccc8e289dda0ca17dd2289d5ba9197cc2c5fb40a /extensions/MozProjectReview/template/en/default | |
parent | f6e9168b666e4ea272ff4d05e6acc99ec28f8645 (diff) | |
download | bugzilla-658988096fae00807553645adc1e1976b2586471.tar.gz bugzilla-658988096fae00807553645adc1e1976b2586471.tar.xz |
Bug 816352: Project Kickoff Form: Add New Option to the "Type of Relationship" dropdown
Diffstat (limited to 'extensions/MozProjectReview/template/en/default')
-rw-r--r-- | extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl | 10 |
1 files changed, 8 insertions, 2 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 b6c29c66a..2db1f225f 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 @@ -209,7 +209,11 @@ agreements. </div> <select name="separate_party" id="separate_party" - onchange="MPR.toggleVisibleById(this,'Yes','initial_separate_party_questions');"> + onchange="MPR.toggleVisibleById(this,'Yes','initial_separate_party_questions'); + if (this.value == 'No') + Dom.addClass('finance_questions','bz_default_hidden'); + if (this.value == 'Yes') + MPR.toggleVisibleById('relationship_type','Hardware Purchase','finance_questions');"> <option value="">Select One</option> <option value="Yes">Yes</option> <option value="No">No</option> @@ -223,10 +227,12 @@ <span class="field_data"> <div class="field_description">What type of relationship?</div> <select name="relationship_type" id="relationship_type" - onchange="MPR.toggleVisibleById(this,'Vendor/Services','legal_sow_details_row');"> + onchange="MPR.toggleVisibleById(this,'Vendor/Services','legal_sow_details_row'); + MPR.toggleVisibleById(this,'Hardware Purchase','finance_questions');"> <option value="">Select One</option> <option value="Vendor/Services">Vendor/Services</option> <option value="Distribution/Bundling">Distribution/Bundling</option> + <option value="Hardware Purchase">Hardware Purchase</option> <option value="Search">Search</option> <option value="NDA">NDA</option> <option value="Other">Other</option> |