Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removeBubbletip appends tip container to body - creating conflicts when re-creating tip. #14

Open
GoogleCodeExporter opened this issue Sep 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create Tip with id="xyz"
2. Remove Tip from trigger container
3. Create Tip with id="xyz"
4. Remove Tip from trigger container - ERROR Occurs

What is the expected output? What do you see instead?
I would expect the tip to be removed at step 4 but instead an error is thrown 
because removeBubbletip() appends the original tip container back into the body 
of the document - thus creating conflicts with id's.

Removing the following code corrects the problem : $('#' + 
tipsActive[i][0]).appendTo('body').hide();

What version of the product are you using? On what operating system?
1.0.6

Please provide any additional information below.
I am creating bubbletips on the fly, the tip content for any particular trigger 
element changes depending on the reponse of AJAX scipts. I may need to remove 
and re-create a single tip (using the same id) several times on a page.

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 11:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant