From 7b274cda55c4404dd18d67e4e8a5e1a82cbed8be Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 13 May 2013 23:21:39 -0400 Subject: Bug 870907 - Project Kickoff Form: javascript responsible for checking for required values not working --- extensions/MozProjectReview/web/js/moz_project_review.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/MozProjectReview/web/js/moz_project_review.js b/extensions/MozProjectReview/web/js/moz_project_review.js index 02447cd5a..0561c1693 100644 --- a/extensions/MozProjectReview/web/js/moz_project_review.js +++ b/extensions/MozProjectReview/web/js/moz_project_review.js @@ -83,7 +83,9 @@ var MPR = { fieldValue: function (id) { var field = Dom.get(id); if (!field) return ''; - if (field.type == 'text') { + if (field.type == 'text' + || field.type == 'textarea') + { return field.value; } return field.options[field.selectedIndex].value; -- cgit v1.2.3-24-g4f1b