Set newurl on admin actions to stay on the page
authorSimo Sorce <simo@redhat.com>
Mon, 27 Oct 2014 14:43:27 +0000 (10:43 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 12 Nov 2014 22:47:23 +0000 (23:47 +0100)
commitc6b167fcf290c415b8d1903237fb5405b7213405
tree7cd04f9aefb7cf92fa6c5287e85e413450ba8318
parent83da2bf3963db3e4427bced3b4c0681e751e54da
Set newurl on admin actions to stay on the page

By setting newurl, the browser state is replaced with the base configuration
URL, so that user actions like hitting reload do not end up trying to
trigger another change or an enablement/disablement of a plugin.
It also insures actions are not accidentally triggered when hitting the back
button.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/admin/common.py