summaryrefslogtreecommitdiffstats
path: root/extensions/MozProjectReview/web/js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MozProjectReview/web/js')
-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;