aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-28 17:36:57 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-28 17:36:57 -0400
commit4dbfdcede3878415dbf5c777e9e2ce17c6916edc (patch)
treec1ac1a1e003ae1c1a1ff62c40b42ca2944aa69b1 /ui/jquery.ui.tooltip.js
parentc2ae4e3fe4be63906dd5da084cfb7fb812421283 (diff)
downloadjquery-ui-4dbfdcede3878415dbf5c777e9e2ce17c6916edc.tar.gz
jquery-ui-4dbfdcede3878415dbf5c777e9e2ce17c6916edc.zip
Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r--ui/jquery.ui.tooltip.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index e6f1c7bb6..343c1d055 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -63,12 +63,7 @@ $.widget( "ui.tooltip", {
// IE may instantly serve a cached response for ajax requests
// delay this call to _open so the other call to _open runs first
setTimeout(function() {
- // when undefined, it got removeAttr, then ignore (ajax response)
- // initially its an empty string, so not undefined
- // TODO is there a better approach to enable ajax tooltips to have two updates?
- if ( target.attr( "aria-describedby" ) !== undefined ) {
- that._open( event, target, response );
- }
+ that._open( event, target, response );
}, 1 );
});
if ( content ) {