diff options
author | guy.pyrzak%gmail.com <> | 2009-01-23 22:08:13 +0100 |
---|---|---|
committer | guy.pyrzak%gmail.com <> | 2009-01-23 22:08:13 +0100 |
commit | a77cbd2028075fd0cb2acd7d60a113f7e5248e14 (patch) | |
tree | dd4ff60fb10cb22e31373571956d12737f7f6da3 /js | |
parent | aff82a963b8ef1561b346eea5627ee189ce405f8 (diff) | |
download | bugzilla-a77cbd2028075fd0cb2acd7d60a113f7e5248e14.tar.gz bugzilla-a77cbd2028075fd0cb2acd7d60a113f7e5248e14.tar.xz |
Bug 471518: "Field only appears when:" produces a JavaScript error in Internet Explorer
Patch By Jill Foley <jillpf55@sbcglobal.net> r=mkanat, a=mkanat
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 2 |
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; } |