Commit Graph

135 Commits

Author SHA1 Message Date
Scott González
3d5c6183a3 Tabs: Removed TODO about making .load() accept nodes; it's unnecessary. 2012-06-12 10:39:32 -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
9e805c0384 Tabs: Rename internal properties. 2012-06-12 09:11:49 -04:00
Scott González
4866182dee Tabs: jQuery <1.7.2 treats .data() as a getter if the value to set is undefined. 2012-06-11 10:43:04 -04:00
Scott González
48588d3bef Tabs: Implement ARIA + Key handling. Fixes #3079 - Tabs: keyboard accessibility. Fixes #7845 - Tabs: default accessibility. 2012-06-08 22:26:05 -04:00
Scott González
fe567eb958 Tabs: Properly remove generated aria-controls attributes on destroy. 2012-05-30 08:01:02 -04:00
kborchers
9f59d01fdc Tabs: Remove aria-controls attribute during destroy 2012-05-29 22:25:23 -05:00
Scott González
234ced07ef Tabs: Simplify _findActive() now that hrefs are never used. 2012-05-29 10:04:20 -04:00
Danny Trunk
6e2f95f59d Tabs: Added heightStyle option. Fixed #8345 - Tabs: Add heightStyle option. 2012-05-28 15:11:20 -04:00
Scott González
c1dc1911bf Tabs: Whitespace. 2012-05-22 16:22:40 -04:00
Scott González
ad1b647973 Tabs: Don't blur anchors on activation. 2012-05-22 15:13:45 -04:00
Scott González
bbb44f9e67 Tabs: Use ._bind() for main event handling. 2012-05-22 15:12:38 -04:00
Scott González
9b37ed24ce Tooltip: Use this instead of that when possible. Saves 24 bytes :-) 2012-05-22 13:46:33 -04:00
Scott González
44cd5d9186 Tabs: Fixed reference to jQuery. 2012-05-21 08:31:38 -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
Scott González
a88b94ebeb Tabs: Update todo to reference newer ticket. 2012-05-16 19:22:49 -04:00
Scott González
90705cdffe Tabs: Preparing for when jQuery starts always returning jqXHR objects from $.ajax(). 2012-05-16 17:14:50 -04:00
Scott González
d4318a5f4c Tabs: Replaced fx option with show and hide options. Fixes #8319 - Tabs: Deprecate fx option. 2012-05-14 14:40:06 -04:00
Scott González
57d18cd6b7 Removed some unused variables. 2012-04-28 17:36:38 -04:00
Scott González
c0f5db5394 Tabs: Don't explicitly remove filter when animating opacity. Fixes #4621 - Tabs: Don't forcefully remove filter attribute. 2012-04-06 09:03:04 -04:00
Jörn Zaefferer
79f1eea6dc Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining 2012-04-04 11:02:08 +02:00
Scott González
a505192420 Tabs: Coding standards. 2012-04-03 19:59:08 -04:00
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00
Scott González
ccbfd45924 A few lint fixes. 2012-04-02 15:55:50 -04:00
Jo Liss
37dcc3e21d Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Scott González
adbc2733bb Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector. 2012-03-22 13:17:17 -04:00
Scott González
932fe888c0 Updated copyright year. 2012-03-08 10:53:08 -05:00
Jörn Zaefferer
e93993c54f Update data naming for Tabs. Partial fix for #7810 2012-03-01 13:31:25 +01:00
Jörn Zaefferer
bfadd5c5a2 Tabs: Whitespace cleanup 2012-03-01 13:30:57 +01:00
Trey Hunner
9d6e94faf4 Use hard tabs for indentation consistently 2012-02-27 12:04:30 -05:00
jdomnitz
57fe6ed01d JavaScript "strict mode" fixes 2012-02-12 19:58:56 -05:00
Scott González
8cd4a8330c Widget: Allow redefining a widget after other widgets have inherited from it. 2012-02-01 16:59:26 -05:00
Scott González
6800e1a2f9 Tabs: Pass tab and panel in create event. Fixes #7868 - Tabs: Provide tab and panel details in create event. 2012-01-21 08:46:02 -05:00
Scott González
0cf6bc0429 Tabs: Move logic for finding the tab list into its own function to allow overriding for rare usage scenarios. 2012-01-21 08:04:39 -05:00
Alex Rhea
3c4e40d8d7 Removed regex from function and split return into two lines. 2012-01-03 13:18:13 -05:00
Alex Rhea
eef633e32a Bug fix for isLocal function in jQuery Tabs.
isLocal function was not compatible with HTML5 push state as the url
could have changed since the page was loaded as in cases with
Backbone.js
2012-01-03 13:00:02 -05:00
Jörn Zaefferer
66f9e12797 Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore. 2011-11-18 17:08: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
fa26847f91 Tabs: Force ajax tabs to resolve asynchronously to avoid a bug caused by cached XHRs resolving immediately in IE. 2011-10-10 15:34:47 -04:00
Scott González
c1cda180a9 Tabs: Find panels using aria-controls instead of index for remove method. Fixes #7698 - Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed. 2011-09-06 13:01:01 -04:00
Scott González
87f78973b9 Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.
Thanks monoblaine.
2011-08-30 20:22:35 -04:00
Scott González
18a3b53988 Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected. 2011-08-11 16:48:58 -04:00
Scott González
ac04462d22 Tabs: Cleanup. 2011-08-10 09:30:52 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
03939fc8c1 Tabs: Don't cancel existing ajax requests when programmatically loading a tab. Fixes #7204 - Tabs: Programmatically loading a tab shouldn't cancel active ajax requests. 2011-05-17 16:23:10 -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
a9d4b52836 Tabs: Removed some animation cleanup code that doesn't appear to be necessary. 2011-05-17 13:15:44 -04:00
Scott González
5f10fa6511 Tabs: Escape all special characters when sanitizing hash selectors. Fixes #4681 - Tabs: _sanitizeSelector needs to escape '.'. 2011-05-17 10:02:22 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
David Murdoch
965cb7359e Tabs: When adding a new tab with an existing panel, don't move it. Fixes #4578 - adding tab moves targeted panel. 2011-05-16 12:30:23 -04:00