Works with Firefox but not IE

bdornbush - March 14, 2009 - 17:12
Project:jQuery Media
Version:5.x-1.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I added jQuery_Media to play some audio files. I had a set of files that needed to be private, so I used the Private_Upload module to make the files private. For that reason, I am not using Filefield, but add the class "media" to the links to activate jQuery_Media for those files.

When I load the page in Firefox, all works as expected. When I load the page with either IE6 or IE7, I get no change in the link and a JavaScript error as shown in the attachment: Unknown runtime error.

I tried updating to the latest version of jQuery using jQuery_update, but that did not make a difference.

I tried moving one of the files to non-private (regular) upload, but then the link appears but disappears after a moment, when the JavaScript "error on page" message appears in the window message space at the bottom. It is still in the source, but does not display on the page.

Are others having problems with IE? Any idea what's happening?

AttachmentSize
jquery_error.jpg36.12 KB

#1

bdornbush - March 14, 2009 - 17:25

Update: After I moved the first link to non-private, I moved it back to private upload, but the first link still does not appear in the browser window, even though it appears in the source, so I don't think the problem has to do with the type of file upload.

I edited the source to remove the 'class="media"' from the <a> link, and now the first link with class="media" in it disappears when I view with IE.

 
 

Drupal is a registered trademark of Dries Buytaert.