From 278515a59f53a08ce47f22e9df06264a3663d0cf Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Wed, 16 May 2012 02:18:42 +0530 Subject: [PATCH] CS-14907 :Download volume option should not be present for volume which has been uploaded --- 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 6f90d699f21..769631c68d8 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1306,7 +1306,7 @@ allowedActions.push("recurringSnapshot"); } if(jsonObj.state != "Allocated") { - if(jsonObj.vmstate == "Stopped" || jsonObj.virtualmachineid == null) { + if((jsonObj.vmstate == "Stopped" || jsonObj.virtualmachineid == null) && jsonObj.state !="Ready") { allowedActions.push("downloadVolume"); } }