When the function Drupal.jsAS.prototype.populate is called in activeselect.js it populates right the
element, but in IE the texts are shown empty.

To make a quick fix i did:
var opt = new Option(text, value, false, selected);
opt.innerText = text;
$(this.targets[targetIndex]).append(opt);

Where before was:
$(this.targets[targetIndex]).append(new Option(text, value, false, selected));

And works correctly in Firefox, IE 6 and IE 7

CommentFileSizeAuthor
#4 activeselect-IE_bug.patch981 bytesfloretan

Comments

js1’s picture

This seems to fix my IE7 problem. Safari and Firefox 2.x still works.

tostinni’s picture

Works for me on IE6,7 FF2 and Opera 9 (unless there's some extra empy lines, but I'm pretty sure this is an Opera bug).

hanno’s picture

Status: Active » Reviewed & tested by the community

worked for me as well. thanks for this bug report.

floretan’s picture

StatusFileSize
new981 bytes

This is indeed a solution, but not a patch.

Here's a patch.

priyar’s picture

thanks for giving this solution

johnhanley’s picture

Confirms the patch solves the IE6/IE7 issue (and continues to work with FF3 as well.)

Any reason why this patch hasn't been rolled into a new release?

haza’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This version of Active Select is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.