aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs/tabs_tickets.js
diff options
context:
space:
mode:
authorph-ausseil <ph.ausseil@gmail.com>2010-08-11 23:06:41 -0400
committerScott González <scott.gonzalez@gmail.com>2010-08-11 23:06:41 -0400
commit03eea0e39dc15b5fc8c811461dd7c08b9e09f660 (patch)
tree82bdfee30524ad732c6453692c34b6b92f528e5c /tests/unit/tabs/tabs_tickets.js
parent2398f6d23a477dec6bcda364b93e2055bbae7864 (diff)
downloadjquery-ui-03eea0e39dc15b5fc8c811461dd7c08b9e09f660.tar.gz
jquery-ui-03eea0e39dc15b5fc8c811461dd7c08b9e09f660.zip
Tabs: Ignore sublists. Fixes #5893 - Tabs: ability to contain sublists.
Diffstat (limited to 'tests/unit/tabs/tabs_tickets.js')
-rw-r--r--tests/unit/tabs/tabs_tickets.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit/tabs/tabs_tickets.js b/tests/unit/tabs/tabs_tickets.js
index 4d51e905d..475579c89 100644
--- a/tests/unit/tabs/tabs_tickets.js
+++ b/tests/unit/tabs/tabs_tickets.js
@@ -71,4 +71,14 @@ test('#5069 - ui.tabs.add creates two tab panels when using a full URL', functio
});
+test('#5893 - Sublist in the tab list are considered as tab', function() {
+ // http://dev.jqueryui.com/ticket/5893
+ expect(1);
+
+ el = $('#tabs6').tabs();
+ equals(el.tabs( "length" ), 2, 'should contain 2 tab');
+
+});
+
+
})(jQuery);