##// END OF EJS Templates
fixes #687 Lazy loaded tooltip bug with simultaneous ajax requests
marcink -
r3119:36b18ede beta
parent child Browse files
Show More
@@ -416,7 +416,6 YAHOO.yuitip.main = {
416 416 },
417 417
418 418 init: function(){
419 yt._tooltip = '';
420 419 yt.tipBox = yt.$('tip-box');
421 420 if(!yt.tipBox){
422 421 yt.tipBox = document.createElement('div');
@@ -457,7 +456,7 YAHOO.yuitip.main = {
457 456
458 457 if(yt.tipText !== ''){
459 458 // save org title
460 yt._tooltip = yt.tipText;
459 YUD.setAttribute(el, 'tt_title', yt.tipText);
461 460 // reset title to not show org tooltips
462 461 YUD.setAttribute(el, 'title', '');
463 462
@@ -495,7 +494,7 YAHOO.yuitip.main = {
495 494 } else {
496 495 YUD.setStyle(yt.tipBox, 'display', 'none');
497 496 }
498 YUD.setAttribute(el,'title', yt._tooltip);
497 YUD.setAttribute(el,'title', YUD.getAttribute(el, 'tt_title'));
499 498 }
500 499 }
501 500
General Comments 0
You need to be logged in to leave comments. Login now