Bug Tracker

Modify

Ticket #11306 (closed bug: fixed)

Opened 16 months ago

Last modified 16 months 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 16 months 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 16 months ago by jaubourg

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.