summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2011-11-07 22:17:30 +0100
committerDave Lawrence <dkl@mozilla.com>2011-11-07 22:17:30 +0100
commit69be9aea828af78bb7a023692c95f7a2756e0568 (patch)
tree5788fdaf1f4bec7f7a9089a470a398d21122d190 /js
parent265e4213dff863d760a7c4e84de5b5eb51959188 (diff)
downloadbugzilla-69be9aea828af78bb7a023692c95f7a2756e0568.tar.gz
bugzilla-69be9aea828af78bb7a023692c95f7a2756e0568.tar.xz
Fix problem in bug 698689
Diffstat (limited to 'js')
-rw-r--r--js/field.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/field.js b/js/field.js
index 5dd43921d..8be6d5487 100644
--- a/js/field.js
+++ b/js/field.js
@@ -252,7 +252,8 @@ function showEditableField (e, ContainerInputArray) {
inputs.push(inputArea);
} else {
inputs = inputArea.getElementsByTagName('input');
- inputs = inputArea.getElementsByTagName('textarea');
+ if ( inputs.length == 0 )
+ inputs = inputArea.getElementsByTagName('textarea');
}
if ( inputs.length > 0 ) {
// Change the first field's value to ContainerInputArray[2]