diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-31 19:20:40 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-31 19:20:40 +0100 |
commit | 3aa44a91465b2a4411659e4c403277c28b26f768 (patch) | |
tree | 6edc40950011aaeadd005af18ff24e33f0a0f9ef /extensions/MozProjectReview/web/js | |
parent | 64ed5b86b0d108e2a98b9e409614a4503b8db758 (diff) | |
download | bugzilla-3aa44a91465b2a4411659e4c403277c28b26f768.tar.gz bugzilla-3aa44a91465b2a4411659e4c403277c28b26f768.tar.xz |
Bug 832031 - Project Kickoff Form: Add "PO Needed?" when "<=$25, 000" is selected under "Vendor Cost"
Diffstat (limited to 'extensions/MozProjectReview/web/js')
-rw-r--r-- | extensions/MozProjectReview/web/js/moz_project_review.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/MozProjectReview/web/js/moz_project_review.js b/extensions/MozProjectReview/web/js/moz_project_review.js index 028666fcc..b5cdc3e38 100644 --- a/extensions/MozProjectReview/web/js/moz_project_review.js +++ b/extensions/MozProjectReview/web/js/moz_project_review.js @@ -142,6 +142,12 @@ MPR.validateAndSubmit = function () { alert_text += "Please include additional description for the out of budget line item\n"; } + if (Dom.get('vendor_cost').value == '<= $25,000' + && Dom.get('po_needed').value == '') + { + alert_text += "Please select whether a PO is needed or not\n"; + } + if (alert_text) { alert(alert_text); return false; |