#4586 closed defect (fixed)
dojo._Animation.play() goes into an infinite loop when this.delay is > 0
Reported by: | simonjb | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Core | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo._Animation.play() contains the following statements:
var d = delay||this.delay; if(d > 0){ setTimeout(dojo.hitch(this, function(){ this.play(null, gotoStart); }), d); return this; // dojo._Animation }
If this.delay is > 0 then the setTimeout() call will always happen and we will have an infinite loop.
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | infinite_loop_play.html added |
---|
comment:1 Changed 13 years ago by
Note: See
TracTickets for help on using
tickets.
Test case attached.