Bug Tracker

Modify

Ticket #10425 (closed bug: duplicate)

Opened 20 months ago

Last modified 15 months ago

animate's complete infinite loop on exception

Reported by: rg1693@… Owned by:
Priority: low Milestone: None
Component: effects Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:

Description

When the 'complete' callback provided to animate() throws an exception, jquery will execute it again and again. this is done like this:

$('#bbb').animate(
    {width:200},
    1000,
    undefined,
    function() { throw "lets start again"}
);

here's a demonstration:  http://jsfiddle.net/b5Ydg/1/

Change History

comment:1 Changed 20 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to effects

comment:2 Changed 20 months ago by timmywil

Duplicate of #5684.

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.