We've just updated to media 2.0 alpha2 and note that there is a javascript error in IE that causes the wysiwyg editor to not launch....
This was introduced in #1970370: Split media token handling from WYSIWYG integration javascript, specifically the patch from #5 changed the replaceTokenWithPlaceholder function to use Array.indexOf
I'm not sure whether it would be best to revert to not use indexOf or whether Array.prototype.indexOf should be added to this file to ensure backwards compatiblity for user agents that don't support it.
see : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global...
Comment | File | Size | Author |
---|---|---|---|
#4 | media-indexOf-IE-2108647-4.patch | 433 bytes | ParisLiakos |
#2 | media-indexOf-IE-2108647.patch | 464 bytes | ParisLiakos |
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedwe should use
$.inArray
insteadComment #2
ParisLiakos CreditAttribution: ParisLiakos commentedComment #4
ParisLiakos CreditAttribution: ParisLiakos commentedComment #5
sheise CreditAttribution: sheise commentedHaving the same issue. Patch from #4 seems to do the trick.
Comment #6
Dave ReidCommitted #4 to 7.x-2.x. http://drupalcode.org/project/media.git/commit/c611130
Comment #7
ParisLiakos CreditAttribution: ParisLiakos commentedthanks:)