Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix session key reset on problem set edit screen
Introduced in 8ced0c7 the frontend would send a ajax request on screen load (no url provided so would use current url). - On first page load there wouldn't be a problem since the user and session key are in the query string - saving the form causes a post so user and session key are no longer in the query string when page reloads - ajax request causes the authentication to fire again generating a new session key that the current browser window is not aware of (hence the next action is invalid) Fixed by commenting out the ajax request since I don't think it does anything. I believe the original intention was to make ajax requests on the page synchronous so not to overload the server but this doesn't actually do that (they might have meant to use `ajaxSetup()` which would effect future requests).
- Loading branch information