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.
Based on an issue from: http://drupal.org/node/1772730
It seems admin_menu_toolbar is breaking ctools_auto_modal due to a missing array() and assignment to a string.
CTools Auto Modal is failing because admin_menu_toolbar is assigning $variables['options']['attributes']['class'][] to a string.
Dave Reid suggested a fix in: http://drupal.org/node/1772730#comment-6431474
Based on that feedback I have committed a patch against dev 3.x
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen Shot 2012-09-03 at 11.51.31 PM.png | 9.42 KB | sylus |
#1 | admin_menu_toolbar_ctools_automodal-1772766_01.patch | 547 bytes | sylus |
Comments
Comment #1
sylus CreditAttribution: sylus commentedHere is the patch.
Comment #2
sylus CreditAttribution: sylus commentedWhile the patch does work to prevent install from breaking; the bug still does present itself when you select the default shortcut icon.
This will cause ctools automodal to popup and an ajax error to occur.
Comment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #4
Dave ReidCommitted to 7.x-3.x and 8.x-3.x. Please open a new issue if integration with CTools Automodal integration needs to be fixed in a different way.