I get "Object doesn't support this property or method" viewing a product page in IE and the update functionality does not work; the same page has no errors and works fine in Firefox

IE apprear to reference this line:

this.lastChild.innerText = " " + radio_option.label + " " + radio_option.adjustment;

Comments

cyu’s picture

Arg...IE7...any chance you have a patch? I have the code check to see if innerText is supported, but I guess that isn't working correctly. I'll take a look whenever I'm on a machine with IE7.

TheSmegHead’s picture

Sorry I am not a coder, but I am a willing tester and will help in any way I can. Thanks for a GREAT module btw.

cyu’s picture

Assigned: Unassigned » cyu

I need to find a replacement for .lastChild for this to work in IE6 and IE7. If you are not using radio button attributes you can remove lines 172-186 of uc_aac.module and everything should work fine for you.

cyu’s picture

Status: Active » Fixed

Should be fixed with this commit: http://drupal.org/cvs?commit=121286

TheSmegHead’s picture

Yes, it works perfectly now...thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.