Hi all,

I’m working on custmoizing modal form for topology view, I would like to prevent
redirecting after submitting.
https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/horizon.modals.js#L110
According to this code, if there is a no redirect_header, the modal
form won't redirect. But I couldn't figure out how to remove redirect
information from http header.
For example, if I want to remove redirect from LaunchInstance
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#L508
How should I do that?
I tried "success_url = None", but it doesn't work.

If you have any idea, that would be great.

Regards,
Toshiyuki

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to