Skip to content

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

Description

@GoogleCodeExporter
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 indiep...@gmail.com on 21 Sep 2010 at 11:03

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions