From e51076af3fc55315c972753a403a81bf8659b7b1 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Wed, 1 Aug 2012 10:54:48 +0530 Subject: [PATCH] CS-14907:download volume option should be present only in READY state since it has moved to primary storage --- ui/scripts/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 42244a0fdb0..287dda061dd 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1311,7 +1311,7 @@ allowedActions.push("recurringSnapshot"); } if(jsonObj.state != "Allocated") { - if((jsonObj.vmstate == "Stopped" || jsonObj.virtualmachineid == null) && jsonObj.state != "Ready") { + if((jsonObj.vmstate == "Stopped" || jsonObj.virtualmachineid == null) && jsonObj.state == "Ready") { allowedActions.push("downloadVolume"); } }