Hi there
I have a simple javascript include in a panel "custom content" pane which calls a third-party video widget. When Panels IPE is active (even if I am not editing, but merely viewing a live page), there are TWO video widgets outputting instead of just one. I double-checked my code to ensure that I am only calling it once in the custom content.
To reproduce the issue, add some panel custom content and paste the following code in the content area, and save it, then view the live page with a user that has Panels IPE privileges:
<script type="text/javascript" src="http://embed.newsinc.com/TopPicks/embed.js?&wid=1957&cid=507&freewheel=90017&sitesection=non_fro&parent=ndn_sliding_launcher"></script>
Comments
Comment #1
andi-d commentedWe got the same problem with other Javascript Snippets.
eg. GoogleAd Snippets
Comment #2
patrickroma commentedSame here with the actual 6.x Version, IPE creates also double javscript load for blocks from modules...
Comment #2.0
patrickroma commentedI initially thought this issue applied to the "block" pane type, but I was wrong, blocks are fine. It is ONLY a problem in the "custom content" pane type.
Comment #3
japerryDrupal 7 is no longer supported, closing.