From 7423d110fc42babfac59e7786de6a0fb1273f6f1 Mon Sep 17 00:00:00 2001 From: Emma Steimann Date: Fri, 2 Mar 2012 15:48:17 -0600 Subject: [PATCH] Made Create Snapshot load in modal. * fixes bug 944498 Change-Id: I0274c715117af97521a610ae0e639418dd9bb13b --- horizon/dashboards/nova/instances_and_volumes/volumes/tables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/horizon/dashboards/nova/instances_and_volumes/volumes/tables.py b/horizon/dashboards/nova/instances_and_volumes/volumes/tables.py index 291094605..d82e7489a 100644 --- a/horizon/dashboards/nova/instances_and_volumes/volumes/tables.py +++ b/horizon/dashboards/nova/instances_and_volumes/volumes/tables.py @@ -59,6 +59,7 @@ class CreateSnapshot(tables.LinkAction): name = "snapshots" verbose_name = _("Create Snapshot") url = "horizon:nova:instances_and_volumes:volumes:create_snapshot" + attrs = {"class": "ajax-modal"} def allowed(self, request, volume=None): return volume.status in ("available",)