Commit Graph

84 Commits

Author SHA1 Message Date
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
Scott González
74df32f91e Tooltip: Removed click handler. 2011-05-28 20:15:26 -04:00
Scott González
6bc220587e Tooltip: Fixed tracking of tooltip elements. 2011-05-28 19:38:01 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15 Tooltip: Added a destroy method to remove generated tooltip elements. 2011-05-28 16:20:01 -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
2f3284811c Tooltip: Proper handled of disabled option. 2011-05-28 15:25:05 -04:00
Scott González
d43118dfba Tooltip: Cleanup. 2011-05-28 11:43:57 -04:00