Ticket #3875 (closed bug: fixed)

Opened 6 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: klaus.hartl
Priority: major Milestone: 1.7
Component: ui.tabs Version: 1.6rc5
Keywords: Cc:
Blocking: Blocked by:

Description

I 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. This is probably incorrect and the library should be modified to add o.hideClass regardless of whether or not the panel exists.

Attachments

ui.tabs.patch.txt Download (640 bytes) - added by Dave 6 years ago.

Change History

Changed 6 years ago by Dave

comment:1 Changed 6 years ago by klaus.hartl

  • Owner set to klaus.hartl
  • Status changed from new to assigned
  • Milestone changed from TBD to 1.6

comment:2 Changed 6 years ago by klaus.hartl

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.