summaryrefslogtreecommitdiffstats
path: root/extensions/MozProjectReview
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-05-14 05:21:39 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-05-14 05:21:39 +0200
commit7b274cda55c4404dd18d67e4e8a5e1a82cbed8be (patch)
treeba980dc70d3fe5a36e708c92e67e97b59ca9be5a /extensions/MozProjectReview
parent9fc87e8123b083025d3484e210365479501e1c66 (diff)
downloadbugzilla-7b274cda55c4404dd18d67e4e8a5e1a82cbed8be.tar.gz
bugzilla-7b274cda55c4404dd18d67e4e8a5e1a82cbed8be.tar.xz
Bug 870907 - Project Kickoff Form: javascript responsible for checking for required values not working
Diffstat (limited to 'extensions/MozProjectReview')
-rw-r--r--extensions/MozProjectReview/web/js/moz_project_review.js4
1 files changed, 3 insertions, 1 deletions
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;