Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
7af1ec727b
Tooltip: Position below the element and set a max width of 300px to more closely match native tooltip behavior. Fixes #8718 - tooltip flickers when too long.
2012-10-23 10:15:28 -04:00
Andrew Couch
0b3e59f149
Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time.
2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736
Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed
2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca
Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows
2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291
Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements
2012-10-21 12:49:32 -04:00
Jörn Zaefferer
9d5f91ece2
Tooltip: Comment why we need to use closest
2012-10-19 20:57:13 -04:00
Scott González
bd3a348776
Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only].
2012-10-12 20:26:47 -04:00
Scott González
0a31a82831
Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties.
2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72
Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error.
2012-10-05 11:26:49 -04:00
Scott González
d434c9a442
typo
2012-10-04 11:59:11 -04:00
Scott González
f5261f359e
Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8622 - Tooltip tracks mouse when the element has focus.
2012-10-04 11:14:37 -04:00
Scott González
149567e476
Updated docs URLS.
2012-09-26 18:06:20 -05:00
Scott González
e242868f56
Tooltip: Allow strings for content option.
2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44
Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically.
2012-08-31 15:38:21 -04:00
Scott González
485ca7192a
Simplify licensing.
2012-08-09 15:09:50 -04:00
Scott González
a4534bb993
Update copyright to jQuery Foundation.
2012-07-04 09:08:08 -04:00
Scott González
d740e450aa
Tooltip: Reposition tracking tooltips when they gain focus.
2012-06-14 12:40:03 -04:00
Jörn Zaefferer
5c2cf39dff
Tooltip: Add track option
2012-06-14 12:38:13 -04:00
Scott González
ff39bed57a
Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off.
2012-06-14 12:33:16 -04:00
Scott González
9608e98149
Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.
2012-06-13 08:00:45 -04:00
Scott González
e8b623207a
Tooltip: When calling the content response method multiple times, only update the content, don't do any other processing.
2012-06-13 05:18:48 -04:00
Jörn Zaefferer
0c87dd1f45
Tooltip: Cleanup comments
2012-05-22 18:34:00 +02:00
Scott González
b6cc9dd870
Tooltip: Handle multiple aria-describedby values.
2012-05-22 11:06:44 -04:00
Jörn Zaefferer
653673ed64
Tooltip: Fix the accessible properties IE exposes
2012-05-09 18:26:19 +02:00
Scott González
dbf31da79f
Tooltip: Only check if the element is active if the event that is causing the tooltip to close is not focusout.
2012-04-30 13:31:14 -04:00
Jörn Zaefferer
5cf3f927a0
Tooltip: Remove bad docs links from headers
2012-04-17 09:56:20 +02:00
Scott González
639afa5954
Lint fixes.
2012-04-02 19:12:21 -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
45a5a24dfe
Tooltip: Store the title in ui-tooltip-title data only if the element has a title.
2012-03-30 09:06:06 -04:00
Scott González
56de22eead
Tooltip: Avoid infinite recursion when disabling a tooltip on close.
2012-03-29 18:36:38 -04:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Jörn Zaefferer
59f2e88c58
Update data naming for Tooltip. Partial fix for #7810
2012-03-01 13:32:47 +01:00
Jörn Zaefferer
58a5e23a78
Tooltip: Replace blur with focusout to deal with inputs nested in tooltipped elements.
2012-02-23 19:39:43 +01:00
Jörn Zaefferer
d32a9e81ec
Tooltip: Mark target to prevent async results showing a tooltip that was closed already
2012-02-19 21:29:41 +01:00
Jörn Zaefferer
daacbaf221
Tooltip: Document why we don't use removeAttr
2012-02-19 21:17:35 +01: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
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Jörn Zaefferer
fb57cc8aba
Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen.
2011-08-18 21:39:27 +02:00
Jörn Zaefferer
2803417dc4
Tooltip: Handle ESCAPE key event to close tooltip when target has focus.
2011-07-13 18:06:16 -04:00
Scott González
e530d06c98
Tooltip: Pass the tooltip element in the open and close events.
2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26
Widget: Fixed _show() and _hide() implementation and added tests.
2011-05-30 18:27:48 -04:00
Scott González
8c085cd27c
Tooltip: Fixed handling of disabled tooltips.
2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee
Tooltip: Added some comments.
2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d
Tooltip: Use bgiframe if available
2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9
Tooltip: Don't close tooltips on mouseleave if the element is still focused.
2011-05-29 19:21:31 -04:00
Scott González
917d2b1358
Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with.
2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e
Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip
2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19
Tooltip: Coding standards.
2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9
Tooltip: Alphabetized options.
2011-05-28 20:19:23 -04:00