Skip to main content

Bug Tracker

Side navigation

#5894 closed bug (invalid)

Opened January 22, 2010 08:22AM UTC

Closed December 02, 2010 08:07AM UTC

Some kind of queue or fadeOut error

Reported by: adam.kopec Owned by: adam.kopec
Priority: major Milestone: 1.4.1
Component: effects Version: 1.4
Keywords: query, fadeOut Cc:
Blocked by: Blocking:
Description

Hi!

I have an AJAXified gallery. The idea is pretty simple:

Each time I click on a thumbnail image wrapped in an A tag (a.thumbnail in the code), I'm loading from the server the appropriate html code

to the DIV (div.big). I have to load the code, not only image path, because I'm using videos and flash too.

Unless the code returned from the server is an <img> though, I get an error in line 40 of the jQuery library (minified version) "d is undefined" each time

I'm trying to fade the old content out. An attempt of fading out anything else simply fails. In unpacked version it becomes line 1145 and message "queue is undefined". It's quite interesting,

cause the jQuery code, as you know, looks like:

(...)

var queue = jQuery.queue( this, type, data );

if ( type === "fx" && queue[0] !== "inprogress" ) {

(...)

and the "queue" is obviously defined.

This bug has been observed on Firefox 3.5.7 and Opera 10.10.

I include my code below.

$("a.thumbnail").live("click", function() {

var id = $(this).attr("href");

//commented out due to strange bug

/*$("div.big").children().fadeOut("fast");*/

$.get("/ajax/filehtmlgenerate/file/" + id.substring(1), "", function(data) {

$("div.big").html(data);

$("div.big").children().fadeIn("normal");

}, "html");

return false;

});

Thanks for your support and this awesome framework. I couldn't imagine my work without it.

Regards,

Adam Kopeć <adam.kopec@gmail.com>

(I speak english, german, polish and a little bit of spanish too, so feel free to contact me for further details, if needed.)

Attachments (0)
Change History (2)

Changed November 13, 2010 07:37AM UTC by addyosmani comment:1

owner: → adam.kopec
status: newpending

Please provide a reduced test case that reproduces the issue you are experiencing. Unfortunately the test case provided is insufficient for us to do this at the moment.

Changed December 02, 2010 08:07AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Automatically closed due to 14 days of inactivity.