Jump to:
| Project: | AdaptiveTheme |
| Version: | 7.x-3.x-dev |
| Component: | CSS/HTML |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
I'm using Adaptive Theme - Corolloa - subtheme based on Footheme. I tested this issue with various themes (Adaptive Theme, Corolla, my subtheme, Garland) and browsers (Chrome, Firefox, IE 7, 8, 9) and have isolated it to IE 8 and 9 and Adaptive Theme and subthemes of Adaptive Theme.
When using the Multiselect module (http://drupal.org/project/multiselect) on IE 7 & 8 (stock versions - nothing changed or removed or altered) Multiselect doesn't allow me to move Node Reference items from the left to the right.
Here's the error I get:
Object doesn't support this property or method
multiselect.js
Code: 0
URI: http://foo/sites/all/modules/multiselect/multiselect.js?lz5dhs [1]
Line: 100
Char: 5
Here's line 100:this.options[this.options.length] = anOption;
Tried both versions of Multiselect for Drupal 7, and am now on
7.x-1.x-dev
Line 100
url: http://foo/sites/all/modules/multiselect/multiselect.js?lz5dhs
That line in context in multiselect.js:
// Adds an option to a select box
// usage $('nameofselectbox').addOption(optiontoadd);
jQuery.fn.addOption = function() {
option = arguments[0];
this.each(function() {
//had to alter code to this to make it work in IE
anOption = document.createElement('option');
anOption.text = option.text;
anOption.value = option.value;
this.options[this.options.length] = anOption;
//$(this).triggerHandler('option-added', anOption);
return false;
});
}Any ideas what I can do?
Comments
#1
Can you explain to me in reasonably precise detail how to reproduce this such as what modules you are using here? I take its Multiselect and Reference?
#2
Jeff - I'd be happy to give you the details, but to save you the trouble of reproducing all of this, if you'd prefer to have an admin account on my site you're welcome to it.
I made a custom content type that's a node reference using the multiselect module (so you have node references to move from unselected to selected). It's an effort to make a private taxonomy like field.
#3
I've moved this comment over to the parallel issue in multiselect #1438748: Error generated when I try to select node reference items in IE 7 & 8 as in my case I can't see how it can have anything to do with AdaptiveTheme.
I'm getting the same thing in 6.x-1.7. Exactly the same line of code and char number complained about (ie8).It's weird that this is reported here less than two weeks ago and I've just searched for it now.I'm not using the Adaptive theme.But I am getting this with multiselect and node reference as per above.I can't say how long I've had the problem - it's possible I haven't even tried it before with ie8 (fine in firefox and chrome and, I've been told, ie9).#4
OK, I assumed the theme is OK and we can close this, sorry I did not get more time to spend on this earlier.