teraßyte Posted April 18, 2023 Posted April 18, 2023 (edited) 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: Visit this link: https://invisioncommunity.com/files/file/10121-tb-log-attachments-downloads/ Click the Who downloaded this? link => The browser tab's URL remains as-is: https://invisioncommunity.com/files/file/10121-tb-log-attachments-downloads/ 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 Close the Downloaders popup => The URL still contains the log/page data from #3. 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 January 24 by teraßyte Adriano Faria 1
Adriano Faria Posted April 18, 2023 Posted April 18, 2023 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.
Jim M Posted April 18, 2023 Posted April 18, 2023 I have tagged this to a developer for further review. Adriano Faria 1
Recommended Posts