Forms try to submit when logging in...
-
Matias Korhonen
- Milestone changed from 0.5 to 0.5.5 (Bug fix galore)
This is a limitation of JavaScript. In order to reload the page with all the parts which are specific to logged in users the page has to be refreshed.
I tried a couple of workarounds, but I couldn't get them to work.
-
Matias Korhonen
- Assigned user set to Joao Carlos
-
Matias Korhonen
Right. I just wasted another half hour trying to get this to work.
And no, JS doesn't seem to be able to load the same page without submitting the form again.
-
Joao Carlos
- Milestone changed from 0.5.5 (Bug fix galore) to 0.5
I have a simple solution for this: getting rid of jQuery UI for the frontend. Besides, it has a lot of invalid CSS and adds 188 KiB of javascript.
-
Joao Carlos
I will figure out a clean solution to redirect back to the previous page.
-
Matias Korhonen
- State changed from new to open
(from [11e90f9016ad31da775d453acc4caa721044fd5f]) Replaced jQuery UI login with normal XHTML. [#105 Forms try to submit when logging in... state:open] http://github.com/k33l0r/hhlc/commit/11e90f9016ad31da775d453acc4caa...
-
Matias Korhonen
(from [e593e6d32262317748dc1a994a98e3c511f7d201]) Implemented JS for the login box hints [#105 Forms try to submit when logging in...] http://github.com/k33l0r/hhlc/commit/e593e6d32262317748dc1a994a98e3...
-
Matias Korhonen
(from [203fd77278a34d6570013951ae8a4ebcd3469d7c]) Limit login hints to the user links [#105 Forms try to submit when logging in...] http://github.com/k33l0r/hhlc/commit/203fd77278a34d6570013951ae8a4e...
-
Matias Korhonen
(from [c2e84157ce0e892bd4207240e7d71c0d19e2a211]) Don't show the top login form if the controller is the users controller, a rough way of limiting the login forms to just one. [#105 Forms try to submit when logging in...]
http://github.com/k33l0r/hhlc/commit/c2e84157ce0e892bd4207240e7d71c... -
Matias Korhonen
- Assigned user changed from Joao Carlos to Matias Korhonen
- State changed from open to testing
-
Matias Korhonen
(from [c0007d5008f6b5f3e52e9a0a95cadcb3881b881b]) Cleanup after removing JS logins [#105 Forms try to submit when logging in...] http://github.com/k33l0r/hhlc/commit/c0007d5008f6b5f3e52e9a0a95cadc...
-
Matias Korhonen
(from [1fd528cff66da6d0f30ea6830d691094e81d3983]) Removed unnecessary local variables [#105 Forms try to submit when logging in...] http://github.com/k33l0r/hhlc/commit/1fd528cff66da6d0f30ea6830d6910...
-
Matias Korhonen
Question: Should we use the solution we have on the current HEAD at this time (since about commit 11e90f9016ad31da775d453acc4caa721044fd5f ), or just use a separate login page, with redirection to the page from which the link was clicked?
Personally, I'm starting to lean towards the login link (a much cleaner solution...)
-
Matias Korhonen
(from [9b8b481495f86eb72db4ac4b89e3d16a018eff5d]) A hacked up solution to redirect the user to the correct page after login/logout. This still needs work (I'm not sure if this is the
correct/safe way of implementing this...) [#105 Forms try to submit when logging in...]
http://github.com/k33l0r/hhlc/commit/9b8b481495f86eb72db4ac4b89e3d1... -
Matias Korhonen
- State changed from testing to resolved
Forms no longer submit when logging in., Any further issues should be handled in fresh tickets.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.