colorbox icon indicating copy to clipboard operation
colorbox copied to clipboard

settings is undefined

Open stevechan opened this issue 15 years ago • 5 comments

First time clicking on a link intended to spawn colorbox results in the javascript error "settings is undefined". The little cycle arrows still work correctly.

If using the minified version of Colorbox 1.3.17.2, this error seems to be "K is undefined"

Can be corrected by using this little amendment in slideshow() of the unminified version.

if (settings != undefined && settings.slideshow && $related[1]) {

stevechan avatar Sep 27 '11 06:09 stevechan

That situation shouldn't ever happen. Could you post a link demonstrating that error occurring? I am assuming there was something else wrong.

jackmoore avatar Sep 27 '11 06:09 jackmoore

Then you are probably misusing the plugin, but there is nothing I can do to help you since I can't see what you've done. The example pages certainly work with IE9.

On Thu, Oct 13, 2011 at 4:12 PM, vasia123 [email protected] wrote:

Get same error in ie9. I used 1.3.18.

Reply to this email directly or view it on GitHub: https://github.com/jackmoore/colorbox/issues/117#issuecomment-2400226

Jack Moore colorpowered.com twitter.com/jacklmoore

jackmoore avatar Oct 13 '11 23:10 jackmoore

The error was my mistake, I connected a colorbox twice - in the head and before the closing tag body. I apologize for such a hasty conclusion.

avanturist888 avatar Oct 14 '11 08:10 avanturist888

No problem, glad things worked out.

On Fri, Oct 14, 2011 at 3:10 AM, vasia123 [email protected] wrote:

The error was my mistake, I connected a colorbox twice - in the head and before the closing tag body.  I apologize for such a hasty conclusion.

Reply to this email directly or view it on GitHub: https://github.com/jackmoore/colorbox/issues/117#issuecomment-2404404

Jack Moore colorpowered.com twitter.com/jacklmoore

jackmoore avatar Oct 14 '11 12:10 jackmoore

I concur with your Sep 27 comment.

I haven't had a chance to look at this again till today, and I haven't been able to replicate it. There must have been some kind of conflict with a minification, jquery UI or some other dunce plugin we're using.

stevechan avatar Oct 17 '11 01:10 stevechan