Closed (fixed)
Project:
Panels
Version:
6.x-3.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2009 at 18:16 UTC
Updated:
27 Jan 2010 at 01:50 UTC
Under some circumstances, adding a block (standard Drupal block, not panel pane or view) will generate the following FF3 alert box style error message An error occurred while attempting to process http://localhost/panels/ajax/add-pane-config/panel_context%3Apage-my_page%3Apage_my_page_panel_context/right/block/my_module-my_ad_block_300x250.
Unfortunately due to NDA I cannot give you the exact code that produces the error. But the following factors are at play:
<script> tags that contain document.write() javascript. The code is a standard doubleclick ad unit.If there is any other pertinent information you need please let me know, of course besides "can I see your panels export?" :-(.
Thanks,
James.
Comments
Comment #1
merlinofchaos commentedMy guess is that the script tag in the block is being rendered and this is causing havoc with the javascript that's trying to add it. In an ideal world you shouldn't use script tags in blocks. As a workaround, maybe try putting the code from the block in as a custom pane? That might prevent the rendering which is going awry.
Comment #2
merlinofchaos commentedI don't have any better suggestions than the custom pane, so marking this fixed.