Hi All,
I am using the latest Panels and ive noticed that when i try to add content to the panel i am sent to a page with what looks like a raw javascript request.
Ive been able to reproduce the issue with all types of panels. You just need to get to the screen where you are actually adding content to a panel's section(s).
The URL ends up being:
/panels/ajax/add-pane/4/middle
Additional info:
- I had the devel module installed but disabled it in an attempt to fix this (no luck)
- I am using the Admin tool bar
Below is the request/output:
[ { "command": "modal_display", "title": "Add content to Middle column", "output": "\x3cdiv class=\"panels-section-column\"\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eCustom\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/custom_php/custom_php\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Custom PHP block with access to Panels context data. Use sparingly, and with caution!\" alt=\"Custom PHP block with access to Panels context data. Use sparingly, and with caution!\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/custom/icon_block_custom.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/custom_php/custom_php\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Custom PHP block with access to Panels context data. Use sparingly, and with caution!\" alt=\"Custom PHP block with access to Panels context data. Use sparingly, and with caution!\"\x3eCustom PHP content\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/custom/custom\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Create a completely custom piece of HTML content.\" alt=\"Create a completely custom piece of HTML content.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/custom/icon_block_custom.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/custom/custom\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Create a completely custom piece of HTML content.\" alt=\"Create a completely custom piece of HTML content.\"\x3eNew custom content\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node/node\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Add a node from your site as content.\" alt=\"Add a node from your site as content.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node/node\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Add a node from your site as content.\" alt=\"Add a node from your site as content.\"\x3eNode content\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eCore blocks\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/locale-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Language switcher\" alt=\"Language switcher\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/locale-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Language switcher\" alt=\"Language switcher\"\x3eLanguage switcher\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/system-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Powered by Drupal\" alt=\"Powered by Drupal\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/system-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Powered by Drupal\" alt=\"Powered by Drupal\"\x3ePowered by Drupal\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/blog-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Recent blog posts\" alt=\"Recent blog posts\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_recentblogposts.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/blog-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Recent blog posts\" alt=\"Recent blog posts\"\x3eRecent blog posts\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/comment-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Recent comments\" alt=\"Recent comments\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_recentcomments.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/comment-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Recent comments\" alt=\"Recent comments\"\x3eRecent comments\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/node-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Syndicate\" alt=\"Syndicate\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_syndicate.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/node-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Syndicate\" alt=\"Syndicate\"\x3eSyndicate\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"User login\" alt=\"User login\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_userlogin.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"User login\" alt=\"User login\"\x3eUser login\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-2\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Who\x26#039;s new\" alt=\"Who\x26#039;s new\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_whosnew.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-2\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Who\x26#039;s new\" alt=\"Who\x26#039;s new\"\x3eWho\'s new\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-3\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Who\x26#039;s online\" alt=\"Who\x26#039;s online\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-3\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Who\x26#039;s online\" alt=\"Who\x26#039;s online\"\x3eWho\'s online\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eViews\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-block\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-block\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3earchive: Block\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3earchive: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/archive-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Display a list of months that link to content for that month.\" alt=\"Display a list of months that link to content for that month.\"\x3earchive: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-block\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-block\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3ecomments_recent: Block\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3ecomments_recent: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/comments_recent-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\" alt=\"Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.\"\x3ecomments_recent: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/frontpage-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajaxThe URL ends up being: /panels/ajax/add-pane/4/middle/add-pane-config/4/middle/views/frontpage-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3efrontpage: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/frontpage-feed\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/frontpage-feed\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3efrontpage: Feed\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/frontpage-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/frontpage-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\" alt=\"Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.\"\x3efrontpage: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-attachment\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-attachment\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3eglossary: Attachment\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3eglossary: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/glossary-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of all content, by letter.\" alt=\"A list of all content, by letter.\"\x3eglossary: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-feed\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-feed\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3etaxonomy_term: Core feed\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3etaxonomy_term: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3etaxonomy_term: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-feed_1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/taxonomy_term-feed_1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\" alt=\"A view to emulate Drupal core\x26#039;s handling of taxonomy/term; it also emulates Views 1\x26#039;s handling by having two possible feeds.\"\x3etaxonomy_term: Views 1 feed\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/tracker-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Shows all new activity on system.\" alt=\"Shows all new activity on system.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_block_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/tracker-default\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Shows all new activity on system.\" alt=\"Shows all new activity on system.\"\x3etracker: Defaults\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/tracker-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Shows all new activity on system.\" alt=\"Shows all new activity on system.\"\x3e\x3cimg src=\"/sites/all/modules/panels/panels_views/icon_views_page_legacy.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/views/tracker-page\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Shows all new activity on system.\" alt=\"Shows all new activity on system.\"\x3etracker: Page\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-column\"\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eNode context\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_attachments/node_type\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of files attached to the node.\" alt=\"A list of files attached to the node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_attachments/node_type\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A list of files attached to the node.\" alt=\"A list of files attached to the node.\"\x3eAttached files\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_comment_form/comment_form\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A form to add a new comment.\" alt=\"A form to add a new comment.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_comment_form/comment_form\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"A form to add a new comment.\" alt=\"A form to add a new comment.\"\x3eComment form\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_comments/comments\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"The comments of the referenced node.\" alt=\"The comments of the referenced node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_comments/comments\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"The comments of the referenced node.\" alt=\"The comments of the referenced node.\"\x3eNode comments\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_content/content\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"The content of the referenced node.\" alt=\"The content of the referenced node.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_content/content\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"The content of the referenced node.\" alt=\"The content of the referenced node.\"\x3eNode content\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_type_desc/node_type\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Node type description.\" alt=\"Node type description.\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/node/icon_node.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/node_type_desc/node_type\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Node type description.\" alt=\"Node type description.\"\x3eNode type description\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eContributed blocks\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image_attach-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Attached images\" alt=\"Attached images\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_contrib_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image_attach-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Attached images\" alt=\"Attached images\"\x3eAttached images\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Latest image\" alt=\"Latest image\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_contrib_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Latest image\" alt=\"Latest image\"\x3eLatest image\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image-1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Random image\" alt=\"Random image\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_contrib_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/image-1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Random image\" alt=\"Random image\"\x3eRandom image\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/taxonomy_image-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Taxonomy Image: Node Images\" alt=\"Taxonomy Image: Node Images\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_contrib_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/taxonomy_image-0\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Taxonomy Image: Node Images\" alt=\"Taxonomy Image: Node Images\"\x3eTaxonomy Image: Node Images\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-column\"\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eMini panel\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/panels_mini/test\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"test title\" alt=\"test title\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_contrib_block.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/panels_mini/test\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"test title\" alt=\"test title\"\x3etest title\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"panels-section\"\x3e\x3ch3 class=\"panels-section-title\"\x3eMenus\x3c/h3\x3e\x3cdiv class=\"panels-section-decorator\"\x3e\x3c/div\x3e\x3cdiv class=\"panels-section-content\"\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-devel\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Development\" alt=\"Development\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block_menu.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-devel\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Development\" alt=\"Development\"\x3eDevelopment\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Navigation\" alt=\"Navigation\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_navigation.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/user-1\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Navigation\" alt=\"Navigation\"\x3eNavigation\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-primary-links\"The URL ends up being: /panels/ajax/add-pane/4/middle class=\"ctools-use-ajax panels-modal-add-config\" title=\"Primary links\" alt=\"Primary links\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block_menu.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-primary-links\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Primary links\" alt=\"Primary links\"\x3ePrimary links\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"content-type-button clear-block\"\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-secondary-links\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Secondary links\" alt=\"Secondary links\"\x3e\x3cimg src=\"/sites/all/modules/panels/plugins/content_types/block/icon_core_block_menu.png\" alt=\"\" title=\"\" width=\"16\" height=\"16\" /\x3e\x3c/a\x3e\x3cdiv\x3e\x3ca href=\"/panels/ajax/add-pane-config/4/middle/block/menu-secondary-links\" class=\"ctools-use-ajax panels-modal-add-config\" title=\"Secondary links\" alt=\"Secondary links\"\x3eSecondary links\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e" } ]
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | javascript-request.txt | 34.34 KB | zigx |
Comments
Comment #1
zigx commentedwell no idea why my description is blank. maybe because of some code i posted?
I will attach the code as a text file -- here's the body:
Hi All,
I am using the latest Panels and ive noticed that when i try to add content to the panel i am sent to a page with what looks like a raw javascript request.
Ive been able to reproduce the issue with all types of panels. You just need to get to the screen where you are actually adding content to a panel's section(s).
The URL ends up being:
/panels/ajax/add-pane/4/middle
Additional info:
- I had the devel module installed but disabled it in an attempt to fix this (no luck)
- I am using the Admin tool bar
Comment #2
globalvillage commentedWhat theme are you using?
Using a custom theme, I have this same issue.
If I switch back to Garland, I can get the modal dialog boxes to display but on attempting to save the error occurs again.
I'm guessing it's a Javascript/CSS conflict with ctools?
I am also using Devel/Admin Toolbar, but disabling those has no effect.
Comment #3
zigx commentedI am using a custom-ish theme based on Genesis. You?
I will try swapping out the theme and report back.
Comment #4
zigx commented@globalvillage
I switched to Garland and this fixed the problem as you had suggested. (thanks)
Unlike you, i am able to save without problem once switched to Garland (even had the admin bar enabled too).
I have ctools installed as well, so i'm wondering if that may not be the case? I'm using Chaos tools 6.x-1.0-alpha3.
Based on this, should i have logged this bug against Genesis?
Comment #5
dkruglyak commentedI have a problem with another (custom) theme as well, though Garland works for me.
Hope someone will investigate and fix this soon. Having to switch to Garland to edit panels is a pain.
Comment #6
petednz commentedIn the meantime have you added Theme Switcher, so you can easily flick between themes?
Comment #7
dkruglyak commented@peted: That's what I did. Still hope the UI will get fixed to work in all themes...
Comment #8
merlinofchaos commentedWhen you see this kind of failure, check the error console (in firefox ctrl-shift-j will bring it up) and see if javascript had a crash. If so, please paste that error, that can be very helpful to determine what went wrong here.
Comment #9
globalvillage commentedI'm using a custom theme which is a subtheme of another custom theme (which isn't based on anything).
No errors are reported in the Firefox error console, just CSS warnings related to the custom template.
@zigx - Any CSS warnings for you with your custom theme? If so, I'll clean up the CSS to get rid of those warnings and see if it's something there that's causing the AJAX call to fail.
My saving error occurs only when adding or changing panels listed under "Custom". I can work with other panel types with no problem.
Comment #10
merlinofchaos commentedAs a rule, if it works in Garland and fails in other themes, it's actually the theme's fault. This isn't always true, of course.
If you can get it to fail in an easily acquired theme (you did say you were using a customized theme) I will install that theme and try it and see if I can figure out why it's broken. But for the moment, if it works in Garland I can't consider it critical, at least.
Comment #11
dkruglyak commented@merlinofchaos: That's all well and good, but what exactly is a "theme's fault"? What specifically does a theme need to fix to work with your UI?
Comment #12
merlinofchaos commentedUsually it's some javascript conflict in the theme, that I've seen. Other than that...I don't know. I'd need to investigate.
Comment #13
merlinofchaos commentedI can do nothing without javascript messages.
Comment #14
travis.hill commented@merlinofchaos: You are absolutely right, it is a theme, and more specific, a javascript issue.
After a run of FF Error Console, the following errors are displayed:
jQuery.modalContent is not a constructor
Line: 163
sites/all/modules/ctools/js/mc.js
new jQuery.modalContent($(this), css, animation, speed);Also for the theme:
jQuery.cookie is not a function
Line 186
sites/all/themes/CUSTOMTHEME/js/CUSTOMTHEME.js
Obviously, I'm responsible for the CUSTOMTHEME.js
There are also some unknown CSS property warnings.
Also, a link to a similar issue (6.x-3.0-beta1).
Comment #15
merlinofchaos commentedHmm. That mc.js error is surprising. That script works pretty well for almost everyone. I wonder why it's failing like that for you.
Comment #16
travis.hill commentedCould it be because I'm using jQuery for a variable font size within my site?
From my .js; Line 186:
Also, I'm working with 6.x-3.0-rc1.
Comment #17
merlinofchaos commentedThat could be an issue if the cookie library isn't getting loaded during the AJAX call. Can you disable that script temporarily and see if it changes the behavior?
Comment #18
esmerel commentedNo updates for more than 30 days.
Comment #19
simondoyle commentedI encountered this problem with Panels 7.x-3.0-alpha3 on Drupal 7.8
Disabling Head.js solved it...
Comment #20
rojesaga commentedHow you disable the head.js?