diff options
Diffstat (limited to 'extensions/MozProjectReview/template/en/default/bug/create')
-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> |