Closed (fixed)
Project:
Colorbox
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2011 at 18:19 UTC
Updated:
2 Apr 2011 at 10:11 UTC
When working with the "Page Manager" in the CTools suite, and setting "Selection Rules" for a new Panel variant, colorbox seems to have interfered with modal windows.
I turned OFF the Colorbox module, and went back to Step 5 above.
Comments
Comment #1
wjaspers commentedWhoops, realized I marked the wrong version #.
Comment #2
merlinofchaos commentedThe reason for this seems to be that colorbox javascript does not protect itself from the library not being installed.
If the library is not installed, it attempts to run colorbox, which crashes and breaks any other javascript that may be running at the time.
Inserting this into various behaviors fixes the problem. I put this in colorbox.js inside the attach function right away, and it prevented the interference.
Comment #3
wjaspers commentedAwesome, seems to resolve it. As always Merlin, you rock.
Comment #4
frjo commentedThanks to @merlinofchaos for the example how to protect from the library not being installed. I have committed it to 7-dev.