Hey, wondering if you can help on this one, when I enabled colorbox module I get a JS error when I click [insert] after I have selected the media.

Uncaught TypeError: Object [object Object] has no method 'colorbox'

I'm on the latest colorbox JS (1.3.19)

There's no exceptions thrown right up until I click [insert], so not sure where to begin to dig more info for you, any ideas? perhaps colorbox is not binding where it should when you fire off the insert event?

Comments

dgtlmoon’s picture

some debug from chrome

Uncaught TypeError: Object [object Object] has no method 'colorbox'
jQuery.extend._Deferred.deferred.resolveWithjquery.js:869
donejquery.js:6591
jQuery.ajaxTransport.send.callbackjquery.js:7382

deciphered’s picture

Unfortunately my first test resulted in success, which is unfortunate as it's hard to fix an issue that I'm unable to reproduce. Will continue to debug.

deciphered’s picture

Status: Active » Postponed (maintainer needs more info)

Tested with PHP 5.2 to confirm it's not an environment issue, which it doesn't appear to be as it still worked fine.

Marking as needs more information.

deciphered’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

(Posting on behalf of dgtlmoon) Issue turned out to be an issue with Media and jQuery 1.7.

dgtlmoon’s picture

correct, switching back to 1.5 seemed to fix our issue