Bug Tracker

Opened 9 years ago

Closed 8 years ago

#5894 closed bug (invalid)

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@…> (I speak english, german, polish and a little bit of spanish too, so feel free to contact me for further details, if needed.)

Change History (2)

comment:1 Changed 8 years ago by addyosmani

Owner: set to 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.

comment:2 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.