Bug Tracker

Modify

Ticket #5894 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by addyosmani

  • Owner set to adam.kopec
  • Status changed from new to pending

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 3 years ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

Automatically closed due to 14 days of inactivity.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.