Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6867 closed bug (fixed)

Inconsistent ui.panel contents for show event of tabs widget

Reported by: jorrit Owned by:
Priority: minor Milestone: 1.8.9
Component: ui.tabs Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:


When the tabs are loaded, a show event is thrown for the startup tab. The ui attribute of the event handler has a panel member that is set to the associated content panel for the tab. This object is a jQuery instance with one element.

When the user clicks another tab, a show event is triggered. However, the ui.panel attribute now is the plain DOM object.

The work around is trivial: always encapsulate references to ui.panel with jQuery(), but the inconsistency is undocumented and I think it should be fixed.

For a code example, see

Change History (2)

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

  • Resolution set to fixed
  • Status changed from new to closed

Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget.

Changeset: 53dc2d305696c9a347d3bfd113d76e4e47ab8c60

comment:2 Changed 6 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.9
Note: See TracTickets for help on using tickets.