[openstack-dev] [Horizon][DataTables] how to generate a confirmation dialog
John Calcote
john.calcote at gmail.com
Sun Nov 6 19:30:19 UTC 2016
Ping. No thoughts on this from anyone?
On Nov 4, 2016 9:26 PM, "John Calcote" <john.calcote at gmail.com> wrote:
> Hi all -
>
> I don't see a better forum anywhere for this post - please correct me
> if I'm wrong.
>
> I have a django/horizon application. On one page users may delete
> objects. I'd like to display a modal dialog confirming the delete
> before submit. Can anyone tell me if there's a way to tie a
> confirmation dialog to a table's DeleteAction?
>
> Note - my template is a trivial table.render with multi-select enabled -
> e.g.,
>
> {% block main %}
> {{ table.render }}
> {% endblock %}
>
> I've searched the docs and the code, but nothing sticks out at me. I'm
> not a client-side expert, but I can usually find my way around in the
> chrome debugger.
>
> Thanks,
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161106/0866ad65/attachment.html>
More information about the OpenStack-dev
mailing list