Forum Discussion
Back button fires JavaScript onchange event
the contents of the URL can differ, the page might even need to be refreshed to work correctly
- Keith DavisJan 16, 2020Iron Contributor
The issue was not "losing values", but somehow JavaScript events are firing that should have no possible way for that to occur.
- HotCakeXJan 16, 2020MVPSo no more a UI issue?
- Keith DavisJan 16, 2020Iron Contributor
Well, that was causing the UI issue - the JS being "cached" is an AJAX request that updates part of the page (and not doing it correctly since it should not be fired at that point). I could fix the AJAX issue to work anyway, but I need to know why it's even being called - makes no sense, but I can reproduce 100% of the time in Edge, but not in any other browser.
In fact, I just tested all the channels (latest version) - the issue does not occur in Beta or Stable but does occur in Dev and Canary. If this problem makes it to Beta, we will have big problems (we have users on Beta and Stable).
- Keith DavisJan 10, 2020Iron Contributor
HotCakeX Never has been a problem before. These are values saved in a database and loaded on each page load. I can't even swear it's the back button, I just know that on subsequent loads of the page, the browser appears to be changing the values of these forms. FYI, I'm the developer for this site, so I can see that the values are being loaded correctly in PHP, this is a UI only issue.