You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/10/24 23:54:25 UTC

[1/2] git commit: CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back.

Updated Branches:
  refs/heads/master de1fd5d0a -> d1493880f


CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d1493880
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d1493880
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d1493880

Branch: refs/heads/master
Commit: d1493880f043719e5989c8db34fdcd860450efd1
Parents: 145d0a7
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Oct 23 13:57:21 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Wed Oct 24 14:54:00 2012 -0700

----------------------------------------------------------------------
 ui/scripts/storage.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d1493880/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index 1a9ef0e..dd81378 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -1457,7 +1457,7 @@
         }
       }
     }
-		allowedActions.push("createTemplate");
+		
     return allowedActions;
   };
 
@@ -1474,9 +1474,7 @@
       allowedActions.push("createVolume");
     }
     allowedActions.push("remove");
-		
-		allowedActions.push("createVolume");
-		allowedActions.push("createTemplate");
+			
     return allowedActions;
   }