Bug Tracker

Ticket #3679 (closed bug: invalid)

Opened 7 years ago

Last modified 6 years ago

Adding existing div as a new panel should have ui-tabs-hide class

Reported by: Dave Owned by:
Priority: minor Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: tabs Cc:
Blocking: Blocked by:



I use XSLT to generate HTML to add as the contents of a new tab. When the add function is called, the new tab is created but the div is displayed on the page. In ui.tabs.js function add, if the panel doesn't exist it is created from a template and the o.hideClass is added to it. This doesn't occur if the panel already exists. I think this is probably incorrect and the library should be modified to add o.hideClass regardless of whether or not the panel exists. The workaround was to add the class to the div when I create it.



patch.txt Download (626 bytes) - added by Dave 7 years ago.
Patch for ui.tabs.js

Change History

Changed 7 years ago by Dave

Patch for ui.tabs.js

comment:1 Changed 6 years ago by dmethvin

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

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker,  http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.