Repository: cloudstack
Updated Branches:
  refs/heads/master 1f7ae13e4 -> 5daa179a5


CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend 
scope from local to global..


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

Branch: refs/heads/master
Commit: 5daa179a575172356f1815b877ad479855e5cba0
Parents: 1f7ae13
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Thu Oct 23 15:34:01 2014 -0700
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Thu Oct 23 16:21:57 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5daa179a/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index aa3e93a..cc538f8 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -2002,7 +2002,7 @@
     };
 
 
-    var volumeActionfilter = 
cloudStack.sections.storage.sections.volumes.volumeActionfilter = 
function(args) {
+    var volumeActionfilter = cloudStack.actionFilter.volumeActionfilter = 
function(args) {
         var jsonObj = args.context.item;
         var allowedActions = [];
 
@@ -2069,7 +2069,7 @@
         return allowedActions;
     };
 
-    var snapshotActionfilter = 
cloudStack.sections.storage.sections.snapshots.snapshotActionfilter = 
function(args) {
+    var snapshotActionfilter = cloudStack.actionFilter.snapshotActionfilter = 
function(args) {
         var jsonObj = args.context.item;
 
         if (jsonObj.state == 'Destroyed') {

Reply via email to