DescriptionAdjust the onLogin event to keep QS and hashes.
- Fixes #1199392
- The login process wants to get you back to your original url.
- It currently only keeps the pathname part of the url and not the query
string or url hash
- This causes the onLogin to change the url and force a re-dispatch.
- This changes the process to keep everything after the hostname by building
the url from pathname + search + hash.
- There's no new tests because tests would require window.location mangling.
Please verify that you get expected behavior for the url
fullscreen/search/precise/apache2-10/?series=precise&text=apache&type=approved#bws-readme
This breaks in jujucharms.com/comingsoon.
https://code.launchpad.net/~rharding/juju-gui/querystring-1199392/+merge/179765
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Adjust the onLogin event to keep QS and hashes. #
MessagesTotal messages: 4
|