Refer to: https://drupal.org/node/2128173

Media Gallery has a string on their "class" instead of an array,

$variables['element']['#link']['localized_options']['attributes']['class'] = 'media-gallery-add launcher'

This breaks the l() function when bootstrap is rendering and adding classes to the links.

I attached the patch for it

Comments

moloc’s picture

Status: Active » Needs review
StatusFileSize
new2.06 KB

Fixed some more classes.

  • Moloc committed f45e438 on 7.x-2.x
    Issue #2128335 by vbreak, Moloc: use array for class attribute.
    

  • Moloc committed 5cc6b1b on 7.x-1.x
    Issue #2128335 by vbreak, Moloc: use array for class attribute.
    
moloc’s picture

Status: Needs review » Fixed

committed to both branches.

Status: Fixed » Closed (fixed)

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