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
Refreshing page while a dialog is visible causes unnecessary ajax call and duplicate DOM nodes #1913
This feels like it is related to issue 1604 (#1604); it is certainly related to navigation.
For a page (e.g. navtest.html) where there is a page and a dialog declared inline on the page, the following repro steps lead to problems:
When the page refreshes with the URL http://.../navtest.html#myPage&ui-state=myDialog, after page load the framework does the following:
This means that there are now 2 instances of #myPage in the DOM.
Full repro steps and example code here: http://jsbin.com/ekugi4/2