Bug Tracker

Opened 14 years ago

Closed 13 years ago

#3679 closed bug (invalid)

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:
Blocked by: Blocking:



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.


Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Dave

Attachment: patch.txt added

Patch for ui.tabs.js

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

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.