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 a page with #&ui-state=dialog causes page duplication #2582
After fixing issue #2570:
And testing against the sample URL:
I noticed that the page markup for page-dialogs.html was being duplicated in the DOM. This is happening because we aren't detecting that page-dialogs.html is a "first-page" since it has a hash after it. We need to change the first-page checking code in loadPage() so that it uses fileUrl, which is the version of the absUrl, minus any dialog hashKey.