Bug Tracker

Ticket #11306 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

calling .disable() or .lock() on a $.Callbacks object breaks its fired() status

Reported by: epeleg Owned by:
Priority: blocker Milestone: 1.7.2
Component: deferred Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

When .fire() has been called on a Callback object, I expect .fired() on this object to return true forever.

however it seems that if I call .disable() or .lock() on the Callback object then .fired starts returning false.

you can see an example here:  http://jsfiddle.net/epeleg/thkby/ and here:  http://jsfiddle.net/epeleg/BvLwn/

Change History

comment:1 Changed 3 years ago by jaubourg

  • Priority changed from undecided to blocker
  • Resolution set to fixed
  • Status changed from new to closed
  • Component changed from unfiled to deferred
  • Milestone changed from None to 1.7.2

Fixed in 1.7.2 beta.

comment:2 Changed 3 years ago by jaubourg

Note: See TracTickets for help on using tickets.