Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Error after destroy qtip
12th June, 11:21 (This post was last modified: 12th June 11:22 by futurephonic.)
Post: #1
Error after destroy qtip
Hi,
I got this error after destroy qtip and resize browser windows: "api is undefined".
This is my code:
JS Code
$('#searchLink').click(function(e) {
         e.preventDefault();
         var lnk = $(this);
         lnk.qtip({
            content: {
                text: 'Some text here'
            },
            position: {
               corner: {
                  tooltip: 'topRight',
                  target: 'bottomRight'
               }
            },
            show: {
               when: false,
               ready: true
            },
            hide: 'unfocus',
            style: {
               width: 250,
               padding: '10px',
               border: {
                   width: 1,
                   color: '#CBCBCB'
                },
               name: 'light'
            },
            api: {
               onHide: function() {
                   lnk.qtip('destroy');
                }
            }
         });
         return false;
      });

And this is the debug result:
$.fn.qtip.interfaces is undefined but it's length is still 1, so api variable is null.

[Image: capture1j.png]

[Image: capture2.png]

[Image: capture3e.png]

[Image: capture4.png]

What's wrong? Please help me.
Find all posts by this user
Quote this message in a reply
12th June, 20:19
Post: #2
[Solved] Error after destroy qtip
ngocluu,

Could you upgrade to the latest branch revision and see if this is still occuring please? The files can be found here:
http://bazaar.launchpad.net/~craig.craig...runk/files

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
13th June, 08:59
Post: #3
Error after destroy qtip
I tried the latest branch version and it works without any errors! Thanks so much.
Find all posts by this user
Quote this message in a reply
11th February, 17:50
Post: #4
RE: Error after destroy qtip
I am sorry about reviving this bug, but I downloaded the -rc3 version off of the main website...it has this bug so I went to the "trunk" that you suggested and saw many other files.

I only downloaded the jquery.qtip.js, jquery.qtip.min.js files. Do I need other files?

Is the 335 the next version? What or how are version numbers tracked?
Find all posts by this user
Quote this message in a reply
12th February, 00:29
Post: #5
RE: Error after destroy qtip
bitslayer, the one you were looking at is actually the new 2.0 beta branch.

Checkout the 1.x series branch here for updates: http://bazaar.launchpad.net/~craig.craig.../1.0/files

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
30th November, 17:30
Post: #6
RE: Error after destroy qtip
(12th February 00:29)Craig Wrote:  bitslayer, the one you were looking at is actually the new 2.0 beta branch.

Checkout the 1.x series branch here for updates: http://bazaar.launchpad.net/~craig.craig.../1.0/files

This fixed the issue for me as well. I was worried about having to use a different plugin but I really like this one so this is great, thanks Craig!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] error when subscribing mplungjan 1 431 27th September 15:18
Last Post: Craig
  qtip thows script error 'parent is null' prasanthreddyp 1 561 12th September 17:16
Last Post: Craig
  [Solved] error: missing}after property list captamirul@yahoo.com 8 1,340 10th September 15:22
Last Post: Craig
  [Solved] Blanket Destroy not working migdalskiy 2 514 22nd August 22:44
Last Post: migdalskiy
  [Solved] Wierd error: "v is undefined" aquinn 6 2,243 3rd June 09:01
Last Post: Craig
  [Solved] Destroy Not Working? bobcarver 1 1,277 Yesterday 22:38
Last Post: bobcarver
  [Solved] How to destroy a qtip when the original element is removed molicule 2 1,576 12th April 16:19
Last Post: detj
  '$' is undefined error with Internet Explorer Premraj 3 1,853 31st March 06:40
Last Post: Craig
  [Solved] Works in IE7 initially, but then throws error tingiri 1 669 1st March 15:18
Last Post: Craig
  [Solved] "No such interface supported" error when using dynamic content url elitz 3 1,751 19th February 16:07
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)