Ticket #4732 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

accordion steals header clicks

Reported by: wichert Owned by:
Priority: major Milestone: 1.8
Component: ui.accordion Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

The clickHandler in the accordion happily does a "return false" on all its exit paths, which means it steals all clicks on the header and you can no longer bind to them using live events.

This breaks a use case I have: we have a remove-button in the header which allows users to remove elements from the accordion.

As far as I can see there is no reason to return false from clickHandler.

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.8

Fixed in r3009.

Note: See TracTickets for help on using tickets.