[openstack-dev] [Horizon] Modal form without redirect

Toshiyuki Hayashi hayashi at ntti3.com
Tue Aug 27 21:26:01 UTC 2013


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



More information about the OpenStack-dev mailing list