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>
'message_type': message_type,
'available': plugins['available'],
'enabled': enabled,
- 'baseurl': self.url}
+ 'baseurl': self.url,
+ 'newurl': self.url}
if self.order:
targs['order_name'] = '%s_order_form' % self.name
targs['order_action'] = self.order.url