Search and Top Navigation
#7931 closed bug (fixed)
Opened December 01, 2011 09:52PM UTC
Closed January 17, 2012 11:18PM UTC
Documentation for jquery.ui.tabs remove method is incomplete
Reported by: | bmonty | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.18 |
Component: | ui.tabs | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is not a bug with the remove() method like I originally thought. However, the documentation could be clearer about how the method can be used.
Specifically, the index parameter on the remove method can refer to either an index (integer) or a tab's href (string) in order to attain the index of the tab the user is looking for. Using index by passing an integer can be a little deceiving because the index required is the index as it was when the tab was originally added. This means that if you are using sortable() on the tabs, the integer-based index becomes a little difficult to use. Once I switched to using the href (string-based index) instead, this became much easier to use to find the tab I wanted.
I tried looking around the GitHub repos, but I couldn't find a spot where I could submit a patch for a documentation update. Can someone point me to how I can do that so I can contribute? Thanks.
Attachments (0)
Change History (1)
Changed January 17, 2012 11:18PM UTC by comment:1
milestone: | 1.9 → 1.8.18 |
---|---|
resolution: | → fixed |
status: | new → closed |
Fixed on docs.jquery.com.