Seeing the following error with some modules, so far i've noticed wysiwyg_fields and rel having this issue

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

Happens with wysiwyg_fields when you submit it's popup to select the media, and 'rel' when i drag/reorder fields, not sure what causes this issue just yet

CommentFileSizeAuthor
#12 ajax_error-1605428-11.patch520 bytesroynilanjan
#10 ajax_error-1605428-10.patch305 bytesAnonymous (not verified)

Comments

dgtlmoon’s picture

Status: Active » Postponed

Seems to only occur when jQuery 1.7 is used in combination with some other modules the require juggling of iframes or tricky handlers, issue went away when 1.5 was used

lsolesen’s picture

Status: Postponed » Active

Setting to active, as it is not a possibility for most people to revert to jQuery 1.5.

frjo’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Need a better description of when this issue pops up.

I just tested the 7-dev version of jQuery update and Colorbox seems to work with as it should with whatever version of jQuery you pick, 1.5.x/1.7.x/1.8.x.

thatjustin’s picture

WillHall’s picture

I had a similar issue trying to get colorbox to work with simple editor plupload and all that.

The fix for me was opening up colorbox.module and replacing libraries_load('colorbox', $variant); with drupal_add_js(libraries_get_path('colorbox') . '/jquery.colorbox-min.js');

WillHall’s picture

Also upping to the latest -dev and patching with http://drupal.org/node/1847900#comment-6854850 resolved the same problems.

frjo’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs review
StatusFileSize
new305 bytes

I was getting this error when submitting an ajax form from ajax_form_entity module.
I've fixed the error changing the plugin check on colorbox.js.

Status: Needs review » Needs work

The last submitted patch, 10: ajax_error-1605428-10.patch, failed testing.

roynilanjan’s picture

StatusFileSize
new520 bytes

Modified patch , this patch is applicable for 2.4 version

roynilanjan’s picture

Status: Needs work » Needs review

Needs review the latest applied patch on version 2.4

Status: Needs review » Needs work

The last submitted patch, 12: ajax_error-1605428-11.patch, failed testing.

neslee canil pinto’s picture

Status: Needs work » Closed (cannot reproduce)