Jump to content

[BUG 4.7.9] Modal popups change the browser tab's URL when using pagination

Recommended Posts

When an ajax modal popup is loaded, and it contains pagination, changing the page changes also the browser tab's URL, but closing it doesn't restore the original URL.


You easily can verify the issue on this site by viewing a file with at least 2 pages of logged downloads. Here are the steps to reproduce:

  1. Visit this link: https://invisioncommunity.com/files/file/10121-tb-log-attachments-downloads/
  2. Click the Who downloaded this? link => The browser tab's URL remains as-is: https://invisioncommunity.com/files/file/10121-tb-log-attachments-downloads/
  3. Now click to load the modal popup's second page of downloaders => The URL changes to: https://invisioncommunity.com/files/file/10121-tb-log-attachments-downloads/page/2/?do=log
  4. Close the Downloaders popup => The URL still contains the log/page data from #3.
  5. Click F5 to refresh the page => The page reloads the download logs's second page (#3) instead of reloading the file's (#1).


There should be a way to pass an option to not update the URL in some cases. While I doubt this will be fixed for 4.x, it's something you should consider for 5.x at least.

Edited by teraßyte
Link to comment
Share on other sites

This happens since 4.0.0. I already reported it  long time ago, twice if I recall. Bfarber said at the time that it was WAI.

So I couldn’t bother anymore. When someone says it happens in my resources, I point places in official apps that the user can reproduce than it’s up to the user to report it or not. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...