Im using qTip 1.0.0.RC3 on a number of my client websites. All my client websites use the latest version of jQuery - 1.4. However I have been told the tooltips have stopped working since the beginning of the week. On Saturday, 13th Feb, jQuery released version 1.4.2 and by the looks of things qTip doesnt like it.
Will there is a new release of qTip that works with jQuery 1.4.2 ?
(I cannot use an older version of jQuery, such as 1.3.2 as i'm using jQuery's 1.4 new features...)
(17th February 18:06)eteanga Wrote: [ -> ]For the record, the error I was receiving was:
JS Code
f(this).data("qtip") is null
This is the same error I get but I have not tried one of the branch releases yet. However if you have tested a branch release and it has worked fine please let me know. I hope to download and test a branch release either tomorrow or Friday.
----------------- UPDATE -------------
I have downloaded and test a branch release as suggested by Craig with jQuery 1.4.2 (I also use Google's jQuery CDN) and the issue still exists. qTip does not appear to work correctly.
Error message:
JS Code
f(this).data("qtip") is null
Sean
I just tried the latest branch release, but unfortunately it's not working. Oddly, when I tried the minimized version, it didn't seem to do anything at all; no errors, but no tips either. So I downloaded the latest non-minimized version (jquery.qtip-1.0.js) and I'm still getting the same error, in connection with jquery 1.4.2 (I also use Google for it). My error's a little bit different, though; on page load, I get:
Uncaught TypeError: Cannot read property 'interfaces' of null
That's happening on line 135 of jquery.qtip-1.0.js:
$(this).data('qtip').current = $(this).data('qtip').interfaces.length;
Hopefully this info helps...I need my tips back! ;-)
Thanks.
Line 131 of jquery.qtip-1.0.js:
JS Code
if(typeof $(this).data('qtip') == 'object')
Change to
JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))
Thanks for this... I'd be interested to hear about plans for perhaps a qtip-1.0.1 with official changes to support the latest JQuery, since I hesitate to patch a library we're using (though a one-liner's not bad, obviously). I'll give it a shot in any case, thanks!
(20th February 05:58)simshaun Wrote: [ -> ]Line 131 of jquery.qtip-1.0.js:JS Code
if(typeof $(this).data('qtip') == 'object')
Change to JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))
(20th February 05:58)simshaun Wrote: [ -> ]Line 131 of jquery.qtip-1.0.js:JS Code
if(typeof $(this).data('qtip') == 'object')
Change to JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))
Thanks, this fixed the problem for me!
Thanks, this fixed the problem for me!
Thanks for the fix simshaun, pushed the fix upstream to the latest 1.x branch release (rev24 as of this writing)