Closed (fixed)
Project:
SWF Embed
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Nov 2009 at 19:27 UTC
Updated:
14 Dec 2009 at 19:40 UTC
Jump to comment: Most recent file
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 commentedAnd patch.
Comment #2
mbutcher commentedA variation on this patch was committed (I had to move the defaults down so that they weren't overwritten repeatedly.)