Opened 8 years ago

Closed 8 years ago

#7683 closed bug (fixed)

Calling .accordion("activate", false) fires changestart event with incorrect values

Reported by: lukas.olson Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.14
Keywords: Cc:
Blocked by: Blocking:

Description

Example code:

$("#element").accordion({
  active: false,
  collapsible: true,
  changestart: function(event, ui) {
    // When I later call $("#element").accordion("activate", false), this event gets fired,
    // and the value for ui.oldHeader right here is false, even if there was an activated
    // row prior to the call.
  }
});

Change History (1)

comment:1 Changed 8 years ago by Scott González

Component: ui.coreui.accordion
Resolution: fixed
Status: newclosed

This is already fixed in master.

Note: See TracTickets for help on using tickets.