Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | swfEmbed-defaults.patch | 1.48 KB | Crell |
Comments
Comment #1
Crell CreditAttribution: Crell commentedAnd patch.
Comment #2
mbutcher CreditAttribution: mbutcher commentedA variation on this patch was committed (I had to move the defaults down so that they weren't overwritten repeatedly.)