Repository: cloudstack Updated Branches: refs/heads/master 32dc09f2c -> 1f7ae13e4
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/1f7ae13e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1f7ae13e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1f7ae13e Branch: refs/heads/master Commit: 1f7ae13e44a7fc77d6455dfb197cec01fd592378 Parents: 32dc09f Author: Jessica Wang <jessicaw...@apache.org> Authored: Thu Oct 23 15:06:00 2014 -0700 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Thu Oct 23 16:20:54 2014 -0700 ---------------------------------------------------------------------- ui/scripts/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1f7ae13e/ui/scripts/storage.js ---------------------------------------------------------------------- diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index c9ecc1d..aa3e93a 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -2002,7 +2002,7 @@ }; - var volumeActionfilter = function(args) { + var volumeActionfilter = cloudStack.sections.storage.sections.volumes.volumeActionfilter = function(args) { var jsonObj = args.context.item; var allowedActions = []; @@ -2069,7 +2069,7 @@ return allowedActions; }; - var snapshotActionfilter = function(args) { + var snapshotActionfilter = cloudStack.sections.storage.sections.snapshots.snapshotActionfilter = function(args) { var jsonObj = args.context.item; if (jsonObj.state == 'Destroyed') {