After upgrading to 1.1, we had a problem where on page load we'd get a JS error $.fn.swfEmbed does not exist, on the line that sets $.fn.swfEmbed.defaults. That's true, because that, in fact, doesn't exist yet. It's created by the next line.

Moving the $.fn.swfEmbed.defaults declaration inside the $.fn.swfEmbed declaration fixed the problem.

CommentFileSizeAuthor
#1 swfEmbed-defaults.patch1.48 KBCrell
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crell’s picture

Assigned: Unassigned » Crell
Status: Active » Needs review
FileSize
1.48 KB

And patch.

mbutcher’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Needs review » Fixed

A variation on this patch was committed (I had to move the defaults down so that they weren't overwritten repeatedly.)

Status: Fixed » Closed (fixed)

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