Bug Tracker

Changes between Version 2 and Version 3 of Ticket #10574, comment 2


Ignore:
Timestamp:
Oct 25, 2011, 7:41:04 PM (8 years ago)
Author:
Avorin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10574, comment 2

    v2 v3  
    1010
    1111Edit2: i only found this page after you asked, and now that i read it completely, i guess this report is invalid, since the doc says:
    12 `Should .trigger('eventName') be used, it will search for an 'eventName' property on the object and attempt to execute it after any attached jQuery handlers are executed. It does not check whether the property is a function or not. To avoid this behavior, .triggerHandler('eventName') should be used instead.` i guess i should use triggerHandler then...
     12`Should .trigger('eventName') be used, it will search for an 'eventName' property on the object and attempt to execute it after any attached jQuery handlers are executed. It does not check whether the property is a function or not. To avoid this behavior, .triggerHandler('eventName') should be used instead.` i guess i should use triggerHandler then.
     13
     14Edit3: and in fact, triggerHandler works, as expected: http://jsfiddle.net/Avorin/maMxV/1/show/