Commit Graph

40 Commits

Author SHA1 Message Date
Scott González
3d6c2a66d4 Tabs: Removed back-compat for load event. Fixes #8731 - Tabs: Remove back-compat for load event. 2012-10-25 05:59:20 -04:00
Scott González
072919467d Tabs tests: Added test for widget() method. 2012-08-26 20:20:43 -04:00
Scott González
1540f4afc8 Whitespace 2012-08-26 20:20:13 -04:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
9ebeb0616a Tabs: Walk previous tabs (and loop) in refresh() in case the tab we're trying to activate is disabled. 2012-06-12 10:07:16 -04:00
Scott González
5c9d9f9e9d Tabs: Pass the list item instead of the anchor in events; move aria-controls from the anchor to the list item. 2012-05-18 16:11:14 -04:00
Shahyar G
f3b022ddb8 Use length property, instead of the deprecated size() method. 2012-04-23 20:49:57 -04:00
Scott González
33e93ef7f0 Tabs tests: Don't pollute the global namespace with helpers. 2012-04-19 12:53:13 -04:00
Scott González
a28983086e Tests: Lint. 2012-04-18 22:36:15 -04:00
Jörn Zaefferer
72023dd045 Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal. 2012-02-29 18:36:40 +01:00
Scott González
f76873c2d2 Tabs test: Increase delay in load test. 2011-11-02 09:35:20 -04:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
Scott González
bd6672d257 Tabs: Updated tests for destroy method. 2011-05-09 17:41:43 -04:00
Scott González
75f7a786ae Tabs: Clean up some tests. 2011-05-03 07:14:33 -04:00
Scott González
09faa7c9fa Tabs: Added more tests for refresh method and changed the implementation a bit. 2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd Tabs: Fix issues with refresh method, add refresh method tests 2011-04-28 13:13:42 -04:00
Scott González
d819cdd3a9 Tabs: Fixed disable method and cleaned up tests for enable and disable methods. 2011-04-28 12:04:08 -04:00
David Petersen
0e7769c669 Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called 2011-04-28 09:37:56 -04:00
Scott González
d3e10de6bc Tabs: Better tests for tab state. 2011-04-15 08:53:05 -04:00
Scott González
7aad37bfd5 Tabs: Better handling of active option and various cleanup. 2011-04-05 16:53:52 -04:00
David Petersen
e9ae04a394 Tabs: CSS Consistency Updates. Fixes #7146 Tabs: CSS Consistency Updates 2011-03-29 07:44:01 -04:00
David Petersen
c6a6ef5ee6 Tabs: Deprecate select method. Fixes #7138 Tabs: Deprecate select method 2011-03-28 22:28:59 -04:00
David Petersen
9a00fd4c5e Tabs: Rename selected option to active. Fixes #7135 Tabs: Rename selected option to active 2011-03-27 16:42:30 -04:00
David Petersen
1e2d3145ff Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels 2011-03-27 14:56:20 -04:00
David Petersen
8b89febbbb Tabs: split up _tabify, create refresh method. Fixes #7140 Tabs: Add refresh method 2011-03-26 21:02:17 -04:00
David Petersen
03eb54b379 Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method 2011-03-26 21:02:17 -04:00
David Petersen
e378876918 Tabs: Deprecate add and remove methods Fixes #7141 Tabs: Deprecate add and remove methods 2011-03-26 21:02:13 -04:00
David Petersen
710d7620e7 Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386 2011-03-21 09:18:19 -04:00
Scott González
162364fae4 Tabs: Removed rotate method. Fixes #5939 - Tabs: Remove rotation. 2010-12-10 15:06:22 -05:00
jenters
c3145b691b Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs 2010-10-04 10:40:27 -04:00
Scott González
7e03d4ea9d Tabs: Updated tests. 2010-07-16 20:20:28 -04:00
carhartl
73adda4146 added tests for enable/disable 2010-04-20 03:00:34 +08:00
Scott González
b3a095d3ef Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests. 2009-11-09 01:50:23 +00:00
Klaus Hartl
240a588bce Tabs: few fixes required in destroy method, removed ol as tabifyable element 2009-03-01 14:32:29 +00:00
Klaus Hartl
1ca5ae160c Tabs: normalization of href attribute required in IE, fixes #4134 2009-02-19 20:19:13 +00:00
Klaus Hartl
f3feb25712 Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard 2009-02-13 23:05:16 +00:00
Klaus Hartl
8aee174cdb Tabs: Added tests for select method while at the same time implemented consistent handling of possible values to pass, addresses #4051 2009-02-05 19:02:47 +00:00
Richard Worth
037f5d5ce1 tabs unit tests: split tests into individual files, added some missing tests 2009-02-03 13:37:54 +00:00
Richard Worth
43ab3a04e5 unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 14:36:08 +00:00