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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sylus’s picture

Here is the patch.

sylus’s picture

FileSize
9.42 KB

While 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.

SocialNicheGuru’s picture

Issue summary: View changes
Status: Active » Needs review
Dave Reid’s picture

Status: Needs review » Fixed

Committed 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.

  • Dave Reid committed a514f26 on 7.x-3.x authored by sylus
    Issue #1772766 by sylus: Fixed Shortcut toggle link does not define...

  • Dave Reid committed e2740de on authored by sylus
    Issue #1772766 by sylus: Fixed Shortcut toggle link does not define...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.