Skip to main content

Search and Top Navigation

#2749 closed bug (worksforme)

Opened April 27, 2008 06:58AM UTC

Closed May 04, 2008 07:37AM UTC

[UI Tabs] can't remove tab index 0

Reported by: stanchao Owned by: klaus
Priority: major Milestone:
Component: ui.core Version:
Keywords: Cc:
Blocked by: Blocking:
Description

$('#example').tabs('remove', 0); doesn't remove tab 0 in jquery ui 1.5b2.

I think the problem is related to the change to zero based tab indices and the index check on line 383. It should check for not undefined rather than just true.

Attachments (0)
Change History (2)

Changed April 29, 2008 04:39PM UTC by scottgonzalez comment:1

owner: paulklaus
summary: can't remove tab index 0[UI Tabs] can't remove tab index 0

Changed May 04, 2008 07:37AM UTC by paul comment:2

resolution: → worksforme
status: newclosed

This works fine for me. Please reopen if it still happens with the latest trunk version.