Skip to content

Commit

Permalink
Made Create Snapshot load in modal.
Browse files Browse the repository at this point in the history
  * fixes bug 944498

Change-Id: I0274c715117af97521a610ae0e639418dd9bb13b
  • Loading branch information
emmasteimann committed Mar 2, 2012
1 parent c16ba74 commit 7423d11
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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",)
Expand Down

0 comments on commit 7423d11

Please sign in to comment.