Repository: cloudstack Updated Branches: refs/heads/4.5 0d6f69b53 -> 325dcd906
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/325dcd90 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/325dcd90 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/325dcd90 Branch: refs/heads/4.5 Commit: 325dcd906f5c8d69a7853ca1f3e164641a07e9c0 Parents: 0d6f69b 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:18:00 2014 -0700 ---------------------------------------------------------------------- ui/scripts/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/325dcd90/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') {