Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In Internet Explorer 7 (may be and 6) don`t work multiple select & related features
See error on screenshot
string 1663
symbol 5
Error "attr(...)" - null or not object
Comment | File | Size | Author |
---|---|---|---|
#7 | ieworkaround.patch | 1.17 KB | Wim Leers |
report.jpg | 63.43 KB | andreypaa |
Comments
Comment #1
andreypaa CreditAttribution: andreypaa commented"attr(...)" - is null or not object
Error in the following code
Comment #2
Wim LeersI did test in IE6, a similar error occurred there. I can't test in IE7 though, but I assumed at least one of the beta and RC testers did. Apparently that was a bad assumption.
Anyway, the code you're using shows that you're not using the 2.0 release, but HEAD. Thanks to you posting that piece of code, I noticed that my last commit (after the 2.0 release) was a bad one (that URL in the comparison is of course not correct). Please sync to HEAD again or install the 2.0 release and report back.
Comment #3
andreypaa CreditAttribution: andreypaa commentedIn file "hierarchical_select.js" about line 159 add line marked "+"
Comment #4
andreypaa CreditAttribution: andreypaa commentedThe HEAD version is still needed to be add this line
Comment #5
Wim LeersCare to explain what that does exactly? That's about the vagues one-liner I've ever seen…
Also, if you can, please create a proper patch: http://drupal.org/patch/create.
Comment #6
imclean CreditAttribution: imclean commentedI'm having the same problem with the 2.0 release and IE 6 & 7. RC4 was fine. Firefox is fine.
Line: 178 (technically 177 but that's IE for you)
Char: 5
Error: 'attr(....)' is null or not an object
Code: 0
This is with Drupal 5.7, latest JQuery update etc. Let me know if you need any further information. I'll keep digging to see what else I can find out.
Edit: I added an alert(hsid) just before line 177. Not sure if this is related, but in IE this displays "indexOf" while in FF it gives the numbers 0 then 1 in seaparate alerts, presumably the IDs of the vocabularies I'm using.
Comment #7
Wim LeersReproduced on IE6. Work-around implemented, see patch.
Comment #8
imclean CreditAttribution: imclean commentedWorks great, thanks for the quick response.
Comment #9
Wim LeersExcellent :)
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.