Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Most recent version of Colorbox stores jquery.colorbox-min.js in a different place. Here's a simple patch that fixes the path.
I'm wondering if we should even add colorbox library this way, could we just call drupal_add_library('media_browser_plus', 'colorbox'); somewhere?
Comment | File | Size | Author |
---|---|---|---|
#1 | media_browser_plus_fix_colorbox_path-1896574-1.patch | 555 bytes | paulihuhtiniemi |
Comments
Comment #1
paulihuhtiniemi CreditAttribution: paulihuhtiniemi commentedHere's the actual patch.
Comment #2
frjo CreditAttribution: frjo commentedSince you already have an dependency for colorbox why not use its library integration?
and then you can load the Colorbox plugin where ever you need with a simple
Comment #2.0
frjo CreditAttribution: frjo commentedupdated js file name.
Comment #3
kruser CreditAttribution: kruser commentedI think this need fixed in 7.x-3.x-dev too because I'm getting errors of it looking for /sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js?v=1.3.9 - but it should be /sites/all/libraries/colorbox/jquery.colorbox-min.js?v=1.3.9
Comment #4
salvis