Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Panel: Link listener fires on removed panel #6309
After a panel is removed, its link listener will still fire. If a new
Test Page: http://jsbin.com/ayomes/1
Steps to reproduce:
Expected outcome: The newly created panel should open
jQuery Mobile (latest)
I don't think that captures the entirety of the issue. From the example you just listed, when I click "Recreate Panel", the old panel is shown at the bottom of the page. That's where the call to ".remove()" comes in, since it will actually remove the markup for the panel. After the panel is removed from the page, any new panel with the same id will never get opened.
This is an issue that I am currently facing and the pull request I submitted fixed the issue.