diff options
author | Byron Jones <glob@mozilla.com> | 2011-11-07 22:17:30 +0100 |
---|---|---|
committer | Dave Lawrence <dkl@mozilla.com> | 2011-11-07 22:17:30 +0100 |
commit | 69be9aea828af78bb7a023692c95f7a2756e0568 (patch) | |
tree | 5788fdaf1f4bec7f7a9089a470a398d21122d190 /js | |
parent | 265e4213dff863d760a7c4e84de5b5eb51959188 (diff) | |
download | bugzilla-69be9aea828af78bb7a023692c95f7a2756e0568.tar.gz bugzilla-69be9aea828af78bb7a023692c95f7a2756e0568.tar.xz |
Fix problem in bug 698689
Diffstat (limited to 'js')
-rw-r--r-- | js/field.js | 3 |
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] |