summaryrefslogtreecommitdiffstats
path: root/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index 86924210c..8e787847a 100644
--- a/js/util.js
+++ b/js/util.js
@@ -166,7 +166,7 @@ function bz_isValueInArray(aArray, aValue)
*/
function bz_createOptionInSelect(aSelect, aTextValue, aValue) {
var myOption = new Option(aTextValue, aValue);
- aSelect.appendChild(myOption);
+ aSelect.options[aSelect.length] = myOption;
return myOption;
}