Dont work with IE7

armand0 - May 16, 2007 - 06:24
Project:Active Select
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am using Active Select and it works me well in Firefox. But when I use IE7 the dropdown lists stay in white, they don't show anything, alone the "Parent" works.
Some idea of for that this happens?

Thank you

#1

armand0 - May 19, 2007 - 04:49

Apparently I could fix that it worked with the IE changing the following line 173 (aprox) from activeselect.js

    --     var e = document.createEventObject();
   ++     var e = document.createEventObject('Microsoft.XMLHTTP');

after the change to my it is working me very well, with the firefox like with the IE. So that other they prove it

#2

armand0 - May 19, 2007 - 04:52
Status:active» closed

Apparently I could fix that it worked with the IE changing the following line 173 (aprox) from activeselect.js

   --     var e = document.createEventObject();
   ++     var e = document.createEventObject('Microsoft.XMLHTTP');

after the change to my it is working me very well, with the firefox like with the IE. So that other they prove it

#3

Onopoc - March 9, 2008 - 07:07

The following works for me:

Change line 156 (approx) from activeselect.js

-- $(this.targets[targetIndex]).append(new Option(text, value, false, selected));

++ if (navigator.appName == "Microsoft Internet Explorer") {
++ this.targets[targetIndex].add(new Option(text, value, false, selected));
++ }else{
++ $(this.targets[targetIndex]).append(new Option(text, value, false, selected));
++ }

Thanks to olemsa: http://drupal.org/node/147076#comment-561190

#4

tassoman - April 23, 2008 - 22:40
Status:closed» active

I've patched and got working into IE6. But going into IE7 and clicking select boxes, any option jump off

#5

Eugef - June 21, 2008 - 19:50

Fix [#1] and [#3] make Activeselect to work in IE7 and IE6 properly!

 
 

Drupal is a registered trademark of Dries Buytaert.