Ticket #6867 (closed bug: fixed)
Inconsistent ui.panel contents for show event of tabs widget
|Reported by:||jorrit||Owned by:|
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 http://jsfiddle.net/jorrit/Nbr2n/.