Search and Top Navigation
#3593 closed bug (notabug)
Opened November 15, 2008 07:36PM UTC
Closed December 08, 2008 04:19PM UTC
Last modified October 11, 2012 09:15PM UTC
"add" function not working correctly
Reported by: | brian | Owned by: | klaus.hartl |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.tabs | Version: | 1.6rc2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When calling the "add" function, the new LI and DIV elements are added in the wrong place.
Was able to fix the problem by changing:
$li.appendTo(this.element); $panel.appendTo(this.element[0].parentNode);
To:
$li.appendTo($('ul:first',this.element)); $panel.appendTo(this.element);
Attachments (1)
Change History (3)
Changed November 18, 2008 12:28AM UTC by comment:1
Changed December 08, 2008 04:19PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
Incorrect usage. Tabs methods must be called on ul element, not on parent.
Changed October 11, 2012 09:15PM UTC by comment:3
milestone: | TBD |
---|
Milestone TBD deleted
I just realized that I was initializing the tabs wrong. Instead of initializing the UL, I was initializing the containing DIV. You can cancel this ticket.