Hi,
Since update to colobox 7.x.2.2, inline or iframe colobox hangs when called from within a markup webform field.
No javascript errors generated.
The colorbox modal get the overlay and open the small loading modal. Then the modal get stuck there, not beeing able to load the target content or node. It seems to be stuck in an infinite loop making crash the browser.

This didn't happend with version 7.x-2.1.
Colorbox work as expected on standart node (none webform content).
Looking at the generated page, the javascript seems to be correctly loaded.

drupal. 7.19
jquery = v1.4.4
colorbox module version = latest --> "7.x-2.2+1-dev" and "7.x-2.2"
jquery.colorbox.js version = latest --> 1.3.31 (same thing happend with 1.3.23)

Any idea.
Thank you.

Comments

frjo’s picture

Status: Active » Closed (duplicate)

Are you using the Colorbox trigger field in a view somehow? That is the only thing that changed between the two version.

Please test this patch and report there if it works for you.

http://drupal.org/node/1894332#comment-6973126

jlbretton’s picture

Status: Closed (duplicate) » Active

Hi fryo,
Thanks for your advise and feedback. I've read the thread, but my case is different. I'm not using the colorbox trigger field. Just plain link in a markup webform field like:
<a class="colorbox-load" href="[/mypath]?width=720&height=460&iframe=true">the link</a>

The site is behind a password before going to prod. Do you want to look at? I can email you the user + pwd.
Thanks.

Demoshane’s picture

Version: 7.x-2.2 » 7.x-2.3

Noticed the same, but different variation:

Link

acts like a normal link. Tested with php filter, full html = No
Printed on template = works

Webform 7-3.18
Colorbox 7.x-2.3

Demoshane’s picture

Version: 7.x-2.3 » 7.x-2.4

Update:
Downloaded latest webform and colorbox (Including library 1.4.27) and tested not working.

frjo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)